HTML Quiz
What does HTML stand for? - answer Hypertext Markup Language
What is HTML? - answer HTML is the language used to create web page documents.
An HTML document is a simple text document containing codes read by browsers.
What is HTML used for? - answer It defines the content
structure of your
web page.
What is the basic building blocks of HTML? - answer The basic building blocks of HTML
are called Elements.
What do Elements do? - answer Elements tell the web browser what each item in the
page is: a paragraph, a heading,
a quotation, and so on. Most elements have an opening and a closing tag.
What is a tag? What do they look like? - answer Tags act like little containers
They look like this; <p> "content" </p>
What is the first section when starting an HTML document? - answerThe document
declaration
<!DOCTYPE html>
The documents are divided into three sections, this is the first.
What is the second section for an HTML document? - answerThe head section
<head>
This section is not visible in the browser,
it gives the browser all the information it
requires to display the page properly.
</head>
What is the third section for an HTML document?? - answerThe body section
<body>
All the visible content of the web page.
</body>
How do you use the head and the body sections? - answerThe <head> and <body>
sections must be set between an opening and closing html tags.
ex:
<!DOCTYPE html>
, <html>
<head>
</head>
<body>
</body>
</html>
What elements and tags can you find in the head section? - answer<title>the title of
your web page
(seen on the tab of the page or at the top of the browser window)</title>
<style>for embedded CSS</style>
<link>link between a document and an
external resource (CSS and others)
<meta>for different metadata specifications
<script>for Javascript content</script>
What elements and tags can you find in the body section? - answer<h1>heading</h1>
(heading tags are from <h1> to <h6>)
<p>paragraph</p>
<a>anchor (link)</a>
<img>image (does not require a closing tag)
<ol>ordered list
<li>list item</li>
</ol>
And many, many more...
What is the tag for the largest text? - answer<h1>heading</h1>
What is the tag for the smallest text? - answer<h6>heading</h6>
What is the tag for a paragraph? What does it do? - answer<p>paragraph</p>
The HTML paragraph element should not contain tables and other block elements. A
sample is shown below.
<p>
This is a sample HTML paragraph element. Any text in a paragraph goes here.
</p>
What does HTML stand for? - answer Hypertext Markup Language
What is HTML? - answer HTML is the language used to create web page documents.
An HTML document is a simple text document containing codes read by browsers.
What is HTML used for? - answer It defines the content
structure of your
web page.
What is the basic building blocks of HTML? - answer The basic building blocks of HTML
are called Elements.
What do Elements do? - answer Elements tell the web browser what each item in the
page is: a paragraph, a heading,
a quotation, and so on. Most elements have an opening and a closing tag.
What is a tag? What do they look like? - answer Tags act like little containers
They look like this; <p> "content" </p>
What is the first section when starting an HTML document? - answerThe document
declaration
<!DOCTYPE html>
The documents are divided into three sections, this is the first.
What is the second section for an HTML document? - answerThe head section
<head>
This section is not visible in the browser,
it gives the browser all the information it
requires to display the page properly.
</head>
What is the third section for an HTML document?? - answerThe body section
<body>
All the visible content of the web page.
</body>
How do you use the head and the body sections? - answerThe <head> and <body>
sections must be set between an opening and closing html tags.
ex:
<!DOCTYPE html>
, <html>
<head>
</head>
<body>
</body>
</html>
What elements and tags can you find in the head section? - answer<title>the title of
your web page
(seen on the tab of the page or at the top of the browser window)</title>
<style>for embedded CSS</style>
<link>link between a document and an
external resource (CSS and others)
<meta>for different metadata specifications
<script>for Javascript content</script>
What elements and tags can you find in the body section? - answer<h1>heading</h1>
(heading tags are from <h1> to <h6>)
<p>paragraph</p>
<a>anchor (link)</a>
<img>image (does not require a closing tag)
<ol>ordered list
<li>list item</li>
</ol>
And many, many more...
What is the tag for the largest text? - answer<h1>heading</h1>
What is the tag for the smallest text? - answer<h6>heading</h6>
What is the tag for a paragraph? What does it do? - answer<p>paragraph</p>
The HTML paragraph element should not contain tables and other block elements. A
sample is shown below.
<p>
This is a sample HTML paragraph element. Any text in a paragraph goes here.
</p>