Quiz HTML CSS
Which block element should you use to markup a long or stand-alone quotation?
<blockquote>
Web pages are text files written in a language called ____.
HTML
Of the following statements about Tim Berners-Lee, which one is NOT true?
He created the first graphical browser in 1992
All character references must begin with an "&" and end with a ";"
True
Tags are words or characters inside _____ .
angle brackets
Match each of the following examples of text content with the HTML markup element that is the most semantically correct. the primary navigation links a group of conceptually related content blocks a block of tangentially related content introductory blocks of content an independent self-contained block of content author or copyright information image or code snippet that supports main text author contact information
< nav> <section> <aside> <header> <article> <footer> <figure> <address>
To avoid adding extra vertical space between two lines of text, you should use the _____ element.
<br>
Which of the following is a generic block-level element that can be used to group content together logically so they can be treated as a single unit by CSS or JavaScript when no other semantic element exists?
<div>
To markup text as the most important heading, you should use the _____ element.
<h1>
To markup text as an item in a list, you should use the _____ element.
<li>
Which block element should you use to order items in a list?
<ol>
To markup text as a paragraph, you use the ____ tag.
<p>
Which of the following code snippets show properly nested elements?
<p>Hello, <em>World!</em></p>
To markup a phrase of text inside a paragraph as a quotation, you should use the _____ element.
<q>
Which text-level element should you use to markup a legal notice?
<small>
Which of the following is a generic inline phrasing element that should be used to describe part of the text in a paragraph, or other block element when no other semantic element exists?
<span>
To markup text that should be emphasized with extra strength, you should use the _____ inline element.
<strong>
All browsers render HTML and CSS exactly the same.
False
Block elements flow in line with other content in the containing element.
False
Each domain on the Internet can have only one Web site.
False
HTML stands for HyperText Machine Language.
False
The <header> and <footer> elements can each be used only once on a page.
False
The content inside the title element is displayed in the Title Bar of the browser window (or on browser tab).
False
The meta element that specifies the character set can be placed anywhere inside the head of a page.
False
You can use either the <p> element or the <li> element to create a list.
False
You should use the <address> element to markup all mailing addresses in a document.
False
Browsers ignore (do not render) all the following in source documents: blank lines, tabs, multiple spaces, text in comments, and unrecognized markup.
True
Characters like & and © must be escaped in HTML by entering its character references
True
Content inside the head element provides descriptive information about the document to the browser.
True
HTML is used to structure a web page and CSS is used to control the presentation.
True
HTML5 markup can be written with either HTML or the stricter XHTML syntax.
True
The correct doctype declaration for an HTML5 document is <!DOCTYPE html>.
True
When a URL specifies a directory without a filename, the Web server will usually return the index.html page to the browser.
True
You can put multiple paragraphs, headings, or lists inside a <blockquote> element.
True
You should not use the <hr> element to insert a decorative line between two paragraphs or headings that do not represent a thematic change.
True
A _____ is a web address used to easily identify any resource on the Web.
URL
Match these common tasks with the Web professional typically responsible for them. creates logo and optimized graphic files prepares wireframe diagram ensures all text supports brand and goals organizes content and creates site diagram authors markup, style, and script files forms processing and database maintenance
Visual Designer User Interface Designer Content Strategist Information Architect Fronten Developer Backend Developer
The portion of a document that Web users will see is nested between the _____ tags.
body
A Web ____ is a software program that requests web files, parses and assembles returned files, and renders the content for users.
browser
The "starbuzzcoffee.com" in http://www.starbuzzcoffee.com/ is the _____.
domain name
The last part of a complete URL is the _____.
domain name
Consider the following statements about HTML5 markup syntax. Which one is NOT considered a best practice?
empty element with no HTML content should be closed with a trailing slash
The "www" in a Web address identifies the _____.
host name
_____ is used for both browser requests and server responses.
http
Consider the following statements about id and class attributes. Which one is NOT true?
multiple elements may share the same class or id
Documents on the Web are known as Web ____.
pages
A standardized format for sending and receiving data is called _____.
protocol
A Web ____ retrieves and returns web files to users.
server
Closing tags are identified by the ______ that precedes the tag name.
slash
The World Wide Web Consortium oversees web technology development, including writing the specifications and setting the _____ that all browser makers should adopt.
standards