HTML Concepts Flashcards
Where do you put non-visible content about the HTML document?
Within the head element.
Where do you put visible content about the HTML document?
Within the body element.
Where do the and tags go in a valid HTML documents?
Within the HTML element.
What is the purpose of a declaration document?
Dictate to the browser what version is being used.
How do block elements affect the document flow?
They start a new line.
How do inline elements affect the document flow?
The alter the appearance of the result. (Ex. italicize, bold, strike out) They don’t start new lines.
What are the default width & height of a block-level element?
Height is the height of the content.
Width is the length of the page or the container of the parent element.
What are the default width & height of an inline element?
Height is the height of the content.
Width is the width of the content.
What is the difference between an ordered list and an unordered list?
An ordered list is numbered.
An unordered list has bullet points.
Is a HTML list a block element or an inline element?
A block element.
What HTML tag is used to link to another website?
<a></a>
What is an absolute URL?
It starts with a domain name.
What is a relative URL?
It is used to link pages within the same site.
Give 5 examples of HTML element types.
Head, title, body, h1, p
What is the purpose of HTML attributes?
They provide more info about elements.