HTML Flashcards
What is part of a basic HTML skeleton?
!DOCTYPE, HTML, HEAD, TITLE, BODY, HEADER, PARAGRAPH
Where do the and tags go in a valid HTML document?
It tells the browser how to read the HTML
Where do you put non-visible content about the HTML document?
Non-visible content like the title or meta is put into the head element
Where do you put visible content about the HTML document?
Visible content is put into the body element
Where do the head and body tags go in a valid HTML document?
The head element typically go before the body element
Give five examples of HTML element tags.
Head, title, body, header, and anchor
What is the purpose of HTML attributes?
An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them.
Give an example of an HTML entity (escape character).
Ampersand
&
How do block-level elements affect the document flow?
Block-level elements takes up the entirety of the lines width
How do inline elements affect the document flow?
In-line elements only takes up as much space as necessary
What are the default width and height of a block-level element?
Default width is the width of the entire line or the entire line of the parent element that the block is in. Default height is the default size of the content that the block has
What are the default width and height of an inline element?
Default height and width is the minimum size that is needed to display the element
What is the difference between an ordered list and an unordered list in HTML?
Ordered is numbered while unordered are bullet points
Is an HTML list a block element or an inline element?
List elements are blocks
What HTML tag is used to link to another website?
An anchor is used