HTML Flashcards
Where do you put non-visible content about the HTML document?
Where do you put visible content about the HTML document?
Where do the and tags go in a valid HTML document?
goes right after the html tag, goes after the closing head tag
What is the purpose of a declaration?
Specific which HTML version
Give five examples of HTML element tags.
<h1> </h1>
<p> </p>
<div> <span> <br></br></span></div>
What is the purpose of HTML attributes?
Provides additional information about an html tag
Give an example of an HTML entity (escape character).
&trad;
How do block-level elements affect the document flow?
On a new line
How do inline elements affect the document flow?
An inline element does not start on a new line and only takes up as much width as necessary.
What are the default width and height of a block-level element?
Width: entire width of parent container, height of it’s content
What are the default width and height of an inline element?
Width and height take up as much space as the content itself
What is the difference between an ordered list and an unordered list in HTML?
Ordered list uses numbers
Unordered list uses bullets
Is an HTML list a block element or an inline element?
Block
What HTML tag is used to link to another website?
anchor
What is an absolute URL?
full URL address