18 Questions
What error indication is returned by a web server when it cannot locate a requested document?
404 error
What is the purpose of the alt attribute in an img element?
To provide a text description of an image for accessibility
What is the term for HTML5 elements that contain only attributes and do not mark up text?
Void Elements
What is the purpose of the mailto: URL in hyperlinking?
To link to an email address
What is the optional attribute that can be used to specify the width and height of an image in an img element?
width and height attributes
What is the format of image files that are commonly used by web developers today?
PNG and JPEG
What is the primary purpose of HTML5 markup language?
To specify the structure and content of a document
What is the purpose of the W3C HTML5 Validation Service?
To check the syntax of HTML5 documents
What is the benefit of using HTML5 elements to structure a document?
To make the document more accessible to users with disabilities
What is the filename extension for saving an HTML5 document?
.html or .htm
What is the purpose of meta elements in HTML5?
To specify information about a document
What is the purpose of the h1 element in HTML5?
To specify the most significant heading
What is the purpose of the href attribute in HTML5?
To specify the location of the resource
What is the default web page that a web server returns when a URL does not specify a document?
index.html
How are hyperlinks typically rendered in web browsers?
Underlined and colored blue
What is the purpose of the strong element in HTML5?
To indicate high importance of the content
What is the purpose of the a element in HTML5?
To create a hyperlink to another resource
Learn about web servers and how they handle errors, as well as hyperlinking to email addresses using mailto: URLs.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free