Web design chapter 2
DOCTYPE
This is scanned by a validator to determine the version of Hypertext Markup Language (HTML) being used.
Browsers add space before and after each line break.
False
Content is the text or other item that is displayed in a browser.
True
Inserting blank lines before or after HTML elements does not affect the structure of a webpage.
True
nav is a basic required Hypertext Markup Language (HTML) element.
False
Comment
It gives instructions on how to use a template.
entity number
It is a combination of a pound sign and a numeric code.
word wrap
This affects the way text displays on the screen, but not the way it prints.
<head>
This tag contains the title tag.
A reserved symbol can be added in a Hypertext Markup Language (HTML) webpage by inserting its HTML entity name.
True
After creating a template for a website, one can save time by using the template to create webpages in the site.
True
After creating the home page or any other page of a website and adding content to it, it must be displayed in a browser to view the completed page.
True
Any text editor can be used to create a Hypertext Markup Language (HTML) template.
True
Browsers add space before and after each <p> tag to separate paragraphs.
True
In Notepad++, the text entered in the text area scrolls continuously to the right unless the word wrap feature is enabled.
True
Semantic elements are also known as structural elements.
True
When a browser displays a webpage, it ignores extra white spaces, treating multiple spaces, indents, and paragraph breaks as a single space.
True
A validator scans the _________ statement to see which version of HTML or XHTML is being used, and then checks to see if the code is valid for that version.
DOCTYPE <!DOCTYPE> <!DOCTYPE html>
Content placed between the <head>...<head> tags appears on the webpage as part of the header element.
False
The div element is a semantic element, while the main element is not.
False
To add a document title, the title text must be typed between the starting and ending header tags.
False
Using blank lines between Hypertext Markup Language (HTML) elements is a bad design practice.
False
Word wrap affects the way a text prints.
False
The basic required Hypertext Markup Language (HTML) elements are the DOCTYPE declaration and the html, head, title, meta, and _________ elements.
body
Legal notices of a website usually appear in the _________ of a webpage.
footer
Using a _________ saves time in coding because the basic wireframe for a page is already established in it.
template
If a document has any errors, _________ gives a chance to identify and correct them before using the template to create a webpage.
validation validating
<p>
A space is added before and after this tag.
To insert two spaces between each page name, the _________ entity must be used.
nonbreaking space character
title
A browser tab displays this when a webpage is displayed.
validation
A process that ensures if all of the code of a webpage follows the established rules set by the World Wide Web Consortium (W3C).
A comment is closed by adding two dashes followed by an exclamation mark and a closing angle bracket.
False
A wireframe indicates how the pages in a website relate to each other.
False
A wireframe is a predefined webpage that contains a specific Hypertext Markup Language (HTML) structure to be used by all pages within the website.
False
An entity number is a combination of the dollar sign ($) and a numeric code.
False
A semantic site map uses semantic elements to define the structure of a webpage.
False (it's a wire frame)
The entity name for the copyright symbol is &cprt.
False(it's ©)
The nav element includes copyright information and page links.
False(it's a footer)
The header element includes links to other pages within a website.
False(it's the Nav element)
content
It is placed between the starting and ending tags.
Static Content
It saves time when added to a template.
The Hypertext Markup Language (HTML) 5 semantic elements reflect the purpose of their tags.
True
The comment syntax uses the angle brackets, similar to the Hypertext Markup Language (HTML) tags.
True
The page links of a webpage will appear below the header in the navigation area.
True
To create a site map for a website, one must know how many pages to include in the website.
True
To create a webpage template, a Hypertext markup Language (HTML) document with the HTML elements that define the webpage structure must be created.
True
Inserting a Hypertext Markup Language (HTML) _________ in a source code displays a reserved HTML character on the webpage.
character entity
A _________ uses semantic elements to define the structure of a webpage.
semantic wireframe