HTML Flashcards
Where do you put non-visible content about the HTML document?
In the head tag
Where do you put visible content about the HTML document?
In the body tag
Where do the and tags go in a valid HTML document?
Within the HTML tags
What is the purpose of a declaration?
The tell the browser which version of HTML you are using
Give five examples of HTML element tags.
<h1> </h1>
<p> <a> <img></img> </a></p>
What is the purpose of HTML attributes?
To modify the HTML element
Give an example of an HTML entity (escape character).
< =
How do block-level elements affect the document flow?
They take up the width of the page
How do inline elements affect the document flow?
They take up the width of the content
What are the default width and height of a block-level element?
The length and height of the content
What are the default width and height of an inline element?
That of the content they are.
What is the difference between an ordered list and an unordered list in HTML?
<ol> and </ol>
<ul></ul>
Is an HTML list a block element or an inline element?
block element
What HTML tag is used to link to another website?
<a> anchor tag</a>
What is an absolute URL?
And url that leads to another website