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