Quiz questions Flashcards
How do you indicate the relative link to a parent directory?
../ folder above current one, followed by file namehead element
Where do you put visible content about the HTML document?
Body element
Where do theandtags go in a valid HTML document?
within the element, head above, body right below it
What is the purpose of adeclaration?
tell’s the browser which version of html the page is using.
Give five examples of HTML element types
HTML, HEAD, TITLE, BODY, Paragraph
What is the purpose of HTML attributes?
provide’s additional information about the contents of an element ; can add functionality
Give an example of an HTML entity (escape character)
& Ampersand, © Copyright, ® Registered trademark, &trade Trademark
How do block-level elements affect the document flow?
will always appear to start on a new line in the browser window <h1>, </h1><p>, </p><ul>, and <li></ul>
How do inline elements affect the document flow?
will always appear to continue on the same line as their neighboring elements. <a> <b> <em> and <img></img></em></b></a>
What are the default width and height of a block-level element?
entire horizontal space of its parent element (container) and equal to height of its content.
What are the default width and height of an inline element?
Height and width are equal to the content in container.
What is the difference between an ordered list and an unordered list in HTML?
<ol> , is numbered, </ol>
<ul> are lists that begin with a bullet point rather than characters that indicate order.</ul>
Is an HTML list a block element or an inline element?
block element.
What HTML tag is used to link to another website?
<a> </a>
What is an absolute URL?
Full web address URL that starts with the domain name for the website.