Font size
WorksheetsHTML Quiz
Total questions: 86
Worksheet time: 43mins
What does HTML stand for?
HyperText Markup Language
HighText Machine Language
HyperText Machine Learning
HighText Markup Language
What does "Hyper" in HTML refer to?
Creating linked and nonlinear structures of information
Words on the computer screen
Preparing text for display on the WWW
A system of signs used for communication
What does "Text" in HTML refer to?
Words on the computer screen that are being marked up
Creating linked and nonlinear structures of information
Preparing text for display on the WWW
A system of signs used for communication
What is "Markup" in HTML?
The process of preparing text to define how it displays on the WWW using tags
A system of signs used for communication
Words on the computer screen
Creating linked and nonlinear structures of information
What does "Language" in HTML signify?
A system of signs used for communication—written and oral
Words on the computer screen
Creating linked and nonlinear structures of information
Preparing text for display on the WWW
Which software is commonly used as an HTML text editor?
Microsoft Excel
Notepad
Adobe Photoshop
Google Sheets
What file extensions are used for HTML documents?
.doc and .docx
.html and .htm
.txt and .rtf
.pdf and .ppt
Which of the following software can also be used to create an HTML document?
Microsoft Word and WordPerfect
Adobe Illustrator and CorelDRAW
Google Chrome and Mozilla Firefox
VLC Media Player and Windows Media Player
What does the title of a web page identify?
The subject or purpose of the page
The main content of the page
The navigation links of the page
The images on the page
What is the primary function of the body of a web page?
To display information in the browser window
To set off different paragraphs of text
To navigate between pages
To display images and icons
Which element of a web page makes up the main content?
Normal text
Headings
Hyperlink
Title
What is the purpose of headings on a web page?
To set off different paragraphs or sections of a page
To display images and icons
To navigate between pages
To identify the subject of the page
Which element of a web page serves as a primary way to navigate between pages?
Hyperlink
Title
Headings
Image
What is the standard practice for typing HTML tags?
HTML tags should always be typed in lowercase letters.
HTML tags should always be typed in uppercase letters.
HTML tags can only be typed in mixed case.
HTML tags are case-sensitive and must match exactly.
Which element is used to define the title of a web page in HTML?
What is the correct order of elements in a basic HTML document structure?
,
, ,,
,What is the easiest way to create and develop a web page document?
Use a complex software tool.
Type the required elements in Notepad as a starting point.
Use a pre-designed template.
Write the code in lowercase letters.
Is HTML case-sensitive?
Yes, HTML is case-sensitive.
No, HTML is not case-sensitive.
HTML is case-sensitive only for certain tags.
HTML is case-sensitive for attributes but not tags.
What is the primary function of the `` tag in an HTML document?
To define the title of the document
To delimit a complete HTML document
To specify the style of the document
To add images to the document
Which attribute is associated with the `` tag?
STYLE
VERSION
CLASS
ID
What happens when the `` tag appears without the version attribute?
The document becomes invalid
The browser assumes the version of HTML used in the document is supplied by the server
The document cannot be displayed
The `` tag is ignored
Can the `` end tag be omitted in an HTML document?
No, it is mandatory
Yes, it may be omitted
Only in HTML5
Only in XHTML
What is the primary function of the
tag in an HTML document?To define the document header
To display the main content of the webpage
To add attributes to the body tag
To specify the footer of the webpage
Which of the following statements is true about the
tag?The
tag has attributes that define the style of the documentThe
tag encapsulates other header tags and has no attributesThe
tag is used to display content on the webpageThe
tag is always omitted in HTML documentsWhat is the correct end tag for the
tag?Which of the following is NOT a characteristic of the
tag?It specifies the prologue to the rest of the file
It defines the document header
It has attributes to style the document
It serves to encapsulate other header tags
What is the primary function of the `
Defines the document title
Adds a header to the document
Specifies the body content of the document
Creates a hyperlink in the document
Which of the following is true about the `
It is optional
It is never omitted
It can be replaced with `
`It is used to define attributes
What is the correct syntax for using the `
`
`
`
`
Which of the following attributes can be used with the `
`class`
`id`
None
`style`
In the example provided, what is the title defined by the `
Web Design
Web Development
HTML Basics
Document Header
What is the primary function of the `
` tag in HTML?Defines the document body
Defines the document header
Specifies the document title
Creates hyperlinks in the document
Which of the following is an attribute of the `
` tag that is specific to Netscape?ALINK
LEFTMARGIN
TOPMARGIN
BGPROPERTIES
Which attribute of the `
` tag is specific to Internet Explorer only?TEXT
BGPROPERTIES
LINK
VLINK
What is the significance of the `` end tag in HTML?
It is mandatory to close the `
` tag.It may be omitted.
It defines the document title.
It specifies the document header.
What is the purpose of the BGCOLOR attribute in the
tag?To set the background color of the document.
To set the font style of the document.
To add a border to the document.
To change the size of the text in the document.
Which attribute in the
tag is used to control the color of all normal text in the document?FONT
TEXT
COLOR
STYLE
What happens when the TEXT attribute is used in the
tag?It changes the color of all normal text in the document.
It changes the background color of the document.
It adds a hyperlink to the text.
It changes the font size of the text.
Which of the following is the correct syntax for setting both background color and text color in the
tag?What is the default color for the initial appearance of a link in HTML?
Blue
Purple
Red
Green
Which attribute in the
tag is used to set the background image of a document?BGIMAGE
BACKGROUND
IMAGE
BGIMG
What is the default color for a visited link in HTML?
Blue
Purple
Red
Yellow
What does the ALINK attribute in the
tag control?The color of the initial appearance of a link
The color of a visited link
The color of an active link being clicked
The color of the background
What is an element in the context of HTML?
A fundamental component of the structure of a text document.
A type of programming language.
A tool used to design websites.
A software used for coding.
What does the first word or character inside the "<" opening bracket represent in HTML?
The closing tag.
The element name.
The attribute.
The document type.
What do HTML tags consist of?
A left angle bracket (<), a tag name, and a right angle bracket (>).
A left angle bracket (<), a tag name, and a closing slash (/).
A left angle bracket (<), a tag name, and an attribute.
A left angle bracket (<), a tag name, and a semicolon (;).
How are HTML tags usually paired?
By using a start tag and an end tag with a slash (/) in the end tag.
By using a single tag for both start and end.
By using a start tag and a semicolon.
By using a start tag and a closing bracket.
What are attributes in HTML?
Words that follow the element and are contained inside the ">" bracket of the opening tag.
Words that precede the element and are contained inside the "<" bracket of the closing tag.
Words that describe the document type.
Words that define the programming language.
What are the two types of tags mentioned in the document?
Container and Empty
Opening and Closing
Inline and Block
Header and Footer
What is the characteristic of container tags?
They only have an opening tag.
They have both an opening and a closing tag.
They are used for inserting images.
They are used for breaking to the next line.
Which of the following is an example of an empty tag?
What does the closing tag name in container tags begin with?
A backward slash
A forward slash
A colon
A semicolon
What is the purpose of empty tags?
To surround text for presentation
To perform an instruction like breaking to the next line or inserting an image
To define the title of a webpage
To create a container for content
What is the purpose of using headings in HTML documents?
To structure a text flow into a more readable and manageable document.
To add images to the document.
To create hyperlinks in the document.
To define the style of the document.
Which heading tag is considered the most important in HTML?
H1
H3
H5
H6
What is the least important heading tag in HTML?
H1
H3
H5
H6
How does the size of text vary between heading tags in HTML?
The size remains the same for all heading tags.
The size decreases from H1 to H6.
The size increases from H1 to H6.
The size is random for each heading tag.
Where are heading elements typically used in an HTML document?
Inside the BODY element.
Inside the HEAD element.
Inside the TITLE element.
Inside the FOOTER element.
What determines the order of importance of headings in HTML?
How they render in the browser.
Their numerical order (H1 to H6).
The color of the text.
The font style used.
What is the correct HTML tag for the largest heading in a webpage?
Which HTML tag is used to define the title of a webpage that appears in the browser tab?
What is the purpose of the
tag in HTML?To define the metadata of the webpage
To define the content displayed on the webpage
To define the title of the webpage
To define the heading structure of the webpage
Which HTML tag is used for the smallest heading in a webpage?
What is displayed in the browser when the HTML code
Heading 3
is used?Heading 1
Heading 3
Heading 6
Example Page
What is the purpose of the HTML paragraph marker `
`?
To create hyperlinks in a document
To break apart blocks of text into separate paragraphs
To add images to a webpage
To format text as bold
Which tag is used to signal the start of a paragraph in HTML?
What happens when a browser renders paragraphs using the `
` tag?
The paragraphs are displayed side by side
The paragraphs are displayed with extra white space between them
The paragraphs are displayed in bold text
The paragraphs are hidden from view
What is the correct closing tag for a paragraph in HTML?
What is the purpose of the `
` element in HTML?
To create a line break in the text.
To add content to the webpage.
To close a paragraph tag.
To format text as bold.
Which of the following is true about the `
` element?
It is an empty element that does not contain any content.
It requires a closing tag to function properly.
It is used to add attributes to a paragraph.
It is used to format text as italic.
What happens when a `
` tag is rendered by a browser?
It creates a line break and moves the text slightly below the previous line.
It adds extra white space to the text without breaking the line.
It formats the text as bold and italic.
It removes all content from the paragraph.
Why does the `
` element not have a closing tag?
Because it marks a position and does not contain any content.
Because it is used to format text.
Because it is part of the `
` tag.Because it is used to close a paragraph.
What does the
element do in an HTML document?
It creates a horizontal line to visually separate sections of the document.
It adds a vertical line to the document.
It changes the font style of the text.
It inserts an image into the document.
Which of the following is an example of using the
element in HTML?
And this text is immediately below.
And this text is immediately below.
And this text is immediately below.
What is the purpose of using horizontal rules (
) in a document?
To visually separate sections of the document.
To add color to the document.
To create hyperlinks in the document.
To format text alignment in the document.
What happens when you use
in an HTML document?
It creates space before and after the horizontal rule.
It removes all spacing in the document.
It changes the color of the horizontal rule.
It adds a border around the text.
What is the default value for the "SIZE" attribute in the
element?
2 pixels
100%
Center
No set
Which attribute of the
element sets the width of the rule in pixels or percentage of screen width?
SIZE
WIDTH
ALIGN
COLOR
What is the purpose of the "NOSHADE" attribute in the
element?
To set the height of the rule
To draw the rule with a flat look instead of a 3D look
To align the rule to the center
To set a color for the rule
What is the default alignment for the
element when using the "ALIGN" attribute?
Left
Center
Right
No set
Which attribute of the
element allows you to set a color for the rule in Internet Explorer 3.0 or later?
SIZE
WIDTH
COLOR
NOSHADE
What does character formatting allow you to do?
Specify the appearance of individual characters
Create hyperlinks in text
Add animations to text
Remove formatting from text
Which of the following is an example of character formatting?
Bold, italic, typewriter
Adding images to text
Creating tables in a document
Adding page numbers
What type of characters can be included using character formatting?
Characters with accents, copyright, and registration marks
Characters with hyperlinks
Characters with animations
Characters with embedded videos
What is preformatted text?
Text with spaces and tabs retained
Text with animations added
Text with hyperlinks embedded
Text with images inserted
What are the two general ways HTML provides for applying formatting to text?
Physical style and logical style
Bold style and italic style
Preformatted style and justified style
Centered style and right-aligned style
