HTML 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 head and body tags go in a valid HTML document?
Within the HTML tag
What is the purpose of a declaration?
Declare that this will be HTML
Give five examples of HTML element types.
HTML, Head, Body, H1, Title
What is the purpose of HTML attributes?
Give more information to HTML elements
Give an example of an HTML entity (escape character).
& a m p ;
& q u o t ;
(without space)
How do block-level elements affect the document flow?
They start on a new line
How do inline elements affect the document flow?
They continue on the existing line
What are the default width and height of a block-level element?
width = 100% height = height of the content
What are the default width and height of an inline element?
width = width of the content height = height of the content
What is the difference between an ordered list and an unordered list in HTML?
ordered list is a list of numbers
unordered list is a list of bullet points
Is an HTML list a block element or an inline element?
block element
What HTML tag is used to link to another website?
the a tag
What is an absolute URL?
URL that includes protocol and domain (full link)