m1-1-0921 Flashcards
Where do you put non-visible content about the HTML document?
In the element.
Where do you put visible content about the HTML document?
In the element.
Where do the and tags go in a valid HTML document?
In between the opening tag and the closing tag.
What is the purpose of the declaration?
To inform the browser that the document is a html document.
Give five examples of HTML element tags.
<p>, <strong>, <h1>, <div>, and </div></h1></strong></p>
What is the purpose of HTML attributes?
To provide additional information about the elements.
Give an example of an HTML entity(escape character).
Double quotation marks: ".
How do block-level elements affect the document flow?
Block-level elements take up the whole space from left to right.
How do inline elements affect the document flow?
Inline elements take up the content space in-between the elements.
What are the default width and height of a block-level element?
The default width is the width of the web page and default height is the height of the content in the element.
What are the default width and height of an inline element?
The default width and height of an inline element is the space of the content within the element.
What is the difference between an ordered list and an unordered list in HTML?
An ordered list lists the content numerically, and an unordered list, lists content by bullet points.
Is an HTML list a block element or an inline element?
An HTML list is a block element.
What HTML tag is used to link to another website?
The <a> tag.</a>
What is an absolute URL?
An absolute URL is a file path that points to another website.
What is a relative URL?
A relative URL is a path that points to a file within a website.
How do you indicate the relative link to a parent directory?
One level above, two periods and a forward slash, followed by the file name: ../index.html
How do you indicate the relative link to a child directory?
Indicate the name of the child folder, forward slash, then file name. directoryfile/index.html.