stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Intro to HTML Flashcards | StudBud
Explore
/
Intro to HTML
Intro to HTML
24 terms
·
StudBud Administration
·
485 plays
A #html quiz to learn about to cover #html #tags
Flashcards
24 cards
F
Practice quiz
P
Host live
L
Questions
24
Answers
1
Why is it good practice to write comments in your code?
To make code more readable
For others to understand your code
To understand your code when you come back to it
All of these are correct
2
What is the purpose of indentation in HTML?
It is required in HTML’s syntax
HTML is whitespace dependent
It makes the code more readable
It tells the browser what operating system you're using
3
The link's destination is specified in the ____ attribute. ex: < a ____ = "something.com"</a>
hreg
href
src
img
4
The text between
____ and ____
describes a heading
<h1> </h1>
<head> </head>
<heading> </heading>
<title> </title>
5
The text between ___ and ____ shows or decscribes the main content of the page
<html> </html>
<p1> </p2>
<h1> </h1>
<body> </body>
6
Describe the effect of this CSS rule:
Makes all divs of the p class gray and 18px large
Makes paragraph text 18px large and background color gray
Makes all paragraph text gray and 18px large
Makes punctuation marks gray and 18px large
7
HTML images are defined with the
____
tag.
<src>
<img>
<a>
<image>
8
Which CSS attributes are correct to use to fill in the blank line?
up, down, diagonal
center, left, right
top, bottom, middle
header, border, footer
9
The text between
_____
and _____provides information about the document
<heading> </heading>
<head> </head>
<html> </html>
<http> </http>
10
Which part of the syntax is called the `selector`?
#cc0000
a
None of these
color
11
If a line of code is commented out, that line:
Will not be visible in the code
Will appear as a comment box on the webpage
Will have no effect on the webpage
None of the above
12
The text between ____ and ____ provides a title for the document or webpage.
<title> </title>
<html> </html>
<a href= </a>
<h1> </h1>
13
What does HTML stand for?
Hypertext markup language
Hypertext makeup language
Hypertention making language
Hypertext makeup language
14
Why are hexidecimal (HEX) values used to assign colors in CSS?
HEX values are easier for programmers to read.
Named color values (ex: gray) should not be used in CSS.
All of these are correct
Millions of color options are available using HEX values.
15
By default, how will this list appear on a webpage?
None of these
Each list item will be numbered
A bullet point will precede each list item
A dash will precede each list item
16
The text between
___
and
____
describes a paragraph
<p> </p>
<html> </html>
<head> </head>
<href> </href>
17
Which property/value would give table data elements a 2px-thick dashed blue border?
border: 2px-thick dashed blue;
border: 2px dashed blue;
all of them
td-border: 2px dashed blue;
18
The text between
____
and _____describes an HTML document
<head> </head>
<!DOCTYPE>
<html> </html>
<p> </p>
19
Which CSS rules are "commented out?"
The h1 and paragraph rules are commented out
All the rules are commented out
Paragraph rules are commented out
The h1 elements are commented out
20
How will words wrapped in `em` and `strong` tags appear on a webpage?
"Big" will be bold and "so" will be italicized
"Big" will be italicized and "so" will be bold
"Big" will be underlined and "so" will be italicized
"Big" will be bold and "so" will be underlined
21
HTML links or anchors are defined with the
____
tag:
<link>
<href>
<anchor>
<a>
22
What does this tag do?
Enables inline CSS to work in your document
Links to a library called "text/css"
Links to an external CSS file
Links to selectors in a "stylesheet" dababase
23
What is CSS?
A web browser
A language used to style HTML elements
Acronym for "colorful style sheets"
A markup language used as a substitute for HTML
24
In the picture what is special about the `em` font-size unit?
Em units are used for anchor tag selectors only
Em units will style font relative to screen size
Em units will not work on all screen sizes
Em units are the same as px units