HTML Flashcards
Where do you put non-visible content about the HTML document?
- Non-visible content is in the head tag element. It contains content about the page, not information shown within the page.
Where do you put visible content about the HTML document?
- The visible content will be from the body elements.
Where do the and tags go in a valid HTML document?
- Head element comes in after the HTML element. The body tags come in after the head element tag. All within the HTML element.
What is the purpose of a declaration?
- It is to tell the browser which version of HTML the page is using.
Give five examples of HTML element tags.
- Doctype decl, HTML Head, Title, Body, p, img
What is the purpose of HTML attributes?
- To provide additional informational bout the contents of an element.
Give an example of an HTML entity (escape character).
- © ;= Copyright. ® = Registered trademark.
How do block-level elements affect the document flow?
- Occupies the entire horizontal space of its parent element(container).
How do inline elements affect the document flow?
- Occupy space bounded by the tags defining the element / content, instead of breaking the flow of the content.
What are the default width and height of a block-level element?
- Takes a new line, takes full width available. Also takes the equal height of its content.
What are the default width and height of an inline element?
- Takes up as much width as necessary.
What is the difference between an ordered list and an unordered list in HTML?
- Ordered Lists- lists where each item in list is numbered. Unordered = lists with bulletpoints instead of letter/number ordered.
Is an HTML list a block element or an inline element?
- Block element.
What HTML tag is used to link to another website?
- <a>Context</a>
What is an absolute URL?
- The full web address for the site. Has the https:.