HTML Elements and Structure - Introduction to HTML 1.1

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which of the following is the correct syntax for the paragraph HTML element? A. <p/>Paragraph<p> B. <p>Paragraph<p/> C. <p>Paragraph</p> D. <p>Paragraph<\p>

C. <p>Paragraph</p>

Which of the following tags instructs the browser to expect a well-formed HTML document? A. <html> B. <!DOCTYPE html> C. <!DOCTYPE html5> D. <!DOCTYPE>

B. <!DOCTYPE html>

12. Which element is the parent of <p>My Paragraph</p>? <body> <p>Paragraph 1</p> <div> <a href="http://www.codecademy.com">Codecademy</a> <p>My Paragraph</p> </div> </body> A. <p> B. <div> C. <body> D. <a>

B. <div>

This group of tags are known as _____________ <!DOCTYPE html> <html> <head> </head> <body> </body> </html>

Boilerplate Code

Which of the following tags would contain the HTML for a web page's visible content? A. <html> B. <about> C. <body> D. <head>

C. <body>

Which of the following is correct syntax for a self-closing tag? A. </br> B. <br><br/> C. <br /> D. <br></br>

C. <br />

The following HTML code should only exist within which of the following tags? <title>Codecademy</title> A. <body> B. <!DOCTYPE html> C. <head> D. <h1>

C. <head>

All HTML code must be nested within which of the following tags? A. <body> B. <title> C. <head> D. <html>

D. <html>

Which of the following is the current HTML standard? A. HTML1 B. HTML5 C. CSS D. XHTML

B. HTML5

Which of the following is the correct syntax for a comment in HTML? A. <!-- No, pretty sure I'm a comment --> B. <-- I'm a comment --> C. # Comment, here D. // I'm definitely a comment

A. <!-- No, pretty sure I'm a comment -->

Which of the following elements contains a web page's metadata? A. <head> B. <about> C. <body> D. <html>

A. <head>

What is the purpose of indentation and whitespace? A. To make code in an HTML file more readable. B. To change the display of elements in the browser. C. To make sure the browser correctly interprets nested elements in an HTML file. D. To comment out code you don't need.

A. To make code in an HTML file more readable.

The acronym HTML stands for which of the following? A. HyperTransfer Markup Language B. HyperText Markdown Language C. HyperText Markup Language D. HyperTransfer Markdown Language

C. HyperText Markup Language

Why should the document type declaration be included in all HTML documents? A. Without it, the web page will not be allowed on the Internet. B. Without it, any HTML code is invalid. C. To specify the HTML standard being used in the content D. To specify what content will display in the browser

C. To specify the HTML standard being used in content

What is the correct definition of an HTML element? A. The first, or opening, HTML tag. B. HTML code that does not require opening or closing tags. C. The second, or closing, HTML tag. Closing tags have a forward slash (/) inside of them. D. An HTML tag and the content that it contains or marks up.

D. An HTML tag and the content that it contains or marks up.

The contents of the <title> tag will appear where in a modern browser? A. The first line of the web page B. It does not appear anywhere. Its purpose is to inform search engines. C. The last line of the webpage D. The browser's tab or title bar

D. The browser's tab or title bar


Conjuntos de estudio relacionados

Evaluating Global Warming Midterm

View Set

WEEK 3: Opportunity Costs, Production Possibilities, Supply, and Demand

View Set

Period 2: The Protestant Reformation and State Rivalries

View Set

Process Technology Safety, Health, and Environment

View Set

Hospitality Marketing Chapter 5 Quiz

View Set