Lesson 2: Structuring an HTML Document Flashcards
(10 cards)
What six tags does every HTML page require?
doc html, title, meta, head, body, header
Why is the <meta></meta> tag important, and where should it be placed in an HTML document?
The meta tags signifies to the browser the character set (?) / it should be placed in the <head>
What HTML tags and text do you use to produce the following content?
- A heading with the words “We are Proud to Present”
- A secondary heading with the one word “Orbit”
- A heading of lesser importance with the words “The Geometric Juggler”
- H1
- H2
- h3-h6
What code would you use to create a complete HTML web page with the title Foo Bar, a heading at the top that reads “Happy Hour at the Foo Bar”, and then the words “Come on down!” in regular type?
<Title> Foo Bar </title>
<h1> Happy Hour at the Foo Bar </h1>
<p> Come on down! <p>
</p></p></Title>
Which of the semantic elements discussed in this lesson is appropriate for containing the definition of a word used in an article?
What makes an element semantic?
Do you have to use an <h1> - <h6> element within a <header> element?
No, you just jump to the <h1>
No need for <header> <h1>
Where must the contents of the <footer> for the document appear on the page?
How many different <nav> elements can you have in a single page?
As many as you want
What types of things might be enclosed in an <article> element?
The <Article> encloses any content that is self-contained and can be reusable
blog, forum post, etc