Font size
WorksheetsQuiz - HTML Overview
Total questions: 25
Worksheet time: 13mins
What does a browser ignore? (Select all that is applicable)
Multiple character spaces (white space)
Line breaks (carriage returns)
Tabs
Unrecognized markup
Browsers need markup to display content correctly.
True
False
Markup makes content elements not available to scripts and style rules.
True
False
This is the element name enclosed in angle brackets (e.g.
in <p>, the element name is p)
Tag
Empty Element
Block Element
Inline Element
The content and its markup (start and end tags).
Tag
Element
Block Element
Inline Element
Some elements have no content and provide a simple directive. They are called _____ elements.
Element
Empty Elements
Inline Elements
Block Elements
Are instructions that clarify or modify an element.
Attribute
Value
Characteristics
Entity
There can be more than one attribute in a tag.
True
False
In an attribute, its value might be a number, word, string of text, URL, or measurement.
True
False
Putting elements inside other elements is called _______.
Nesting
Looping
While Loop
For Loop
How do you leave a comment in HTML?
By using #
By using //
By using <!-- and -->
By using /* and */
This lets browsers know that the document is written according to the HTML5 specification.
<!DOCTYPE html>
<html>
<head>
<body>
This element is the root element that contains all the elements in the document.
<!DOCTYPE html>
<html>
<head>
<body>
This element display in the browser tab and bookmark lists, and are used by search engines.
<!DOCTYPE html>
<html>
<head>
<body>
The way elements relate to one another forms an outline-like structure is called ______.
DOM (Document Object Model)
Semantic markup
Semantic Object Model (SOM)
Document markup
These elements are major components of the page that display like rectangular blocks stacking up on the page.
Block Elements
Inline Elements
Markup Elements
Attribute Elements
These elements appear within the text flow of a block element
Block Elements
Inline Elements
Markup Elements
Attribute Elements
Presentation is controlled by style sheets (CSS).
True
False
Browsers do not have have their own style sheets (user agent style sheets) with default styles for HTML elements
True
False
Which is an example of an opening tag? (Select all that are applicable)
<h1>
</p>
<body>
</a>
Which is an example of a closing tag? (Select all that are applicable)
</h6>
</html>
<head>
<body>
Based on the minimal document structure, the correct sequence of HTML tags for starting a webpage is
Head, Title, HTML, Body
HTML, Body, Title, Head
HTML, Title, Body, Head
HTML, Head, Title, Body
Which symbol identifies a closing tag?
<>
/
()
\
This is an example of an empty element
<br>
<h1>
<p>
<em>
An attribute is composed of a ____ and ____.
Attribute Name
Value
Entity
Attribute Characteristic
