HTML Flashcards
Where do you put non-visible content about the HTML document?
Inside the HEAD tag
Where do you put visible content about the HTML document?
Inside the BODY tag
Where do the and tags go in a valid HTML document?
Inside the HTML tag
What is the purpose of a declaration?
To tell a browser which version of HTML the page is using
Give five examples of HTML element types:
Head, Body, Paragraph, H1, IMG
What is the purpose of HTML attributes?
They provide additional information about the contents of an element.
Give an example of an HTML entity (escape character):
© | ®
How do block-level elements affect the document flow?
Block-Level elements affect the document flow by occupying the entire horizontal space, and pushing all other elements into a new line. It’s height is determined by the content but can be set customized.
How do inline elements affect the document flow?
Inline-Level elements affect the document flow differently because it does not start on a new line and only takes up as much space (vertically & horizontally) as needed.
What are the default width and height of a block-level element?
The default width is 100% (taking the full width available, and the height is determined by the content but is customizable.
What are the default width and height of an inline element?
The default width and height is determine by content only, you cannot adjust or customize.
What is the difference between an ordered list and an unordered list in HTML?
An ordered list is numbered and each item is in a specific order
Is an HTML list a block element or an inline element?
Block element
What HTML tag is used to link to another website?
<a> along with </a><a> </a>
What is an absolute URL?
A link which goes to a different website.