HTML Flashcards
Where do you put non-visible content about the HTML document?
Head element
Where do you put visible content about the HTML document?
Body element
Where do the and tags go in a valid HTML document?
Within the HTML element
What is the purpose of a declaration?
To tell the web browser about what version of HTML the page is written in
Give five examples of HTML element types
HTML, Head, Body, Meta, Img
What is the purpose of HTML attributes?
Provides additional information about the element
Give an example of an HTML entity (escape character)
© = copyright sign
How do block-level elements affect the document flow?
Block-level elements always start on a new line and takes up the full width available
How do inline elements affect the document flow?
Inline elements do not start on a new line and only take up as much width as necessary
What are the default width and height of a block-level element?
Width is 100% of the page, and height is of the content
What are the default width and height of an inline element?
0, 0
What is the difference between an ordered list and an unordered list in HTML?
Ordered list numbers the lists in order and unordered list is in bullet point format
Is an HTML list a block element or an inline element?
Block
What HTML tag is used to link to another website?
<a></a>
What is an absolute URL?
Full URL of the web page that you link to