What should be the first tag in any HTML document?
(a) <head>
(b) <title>
(c) <html>
(d) <document>
In HTML documents, the tags
(a) Should be written in uppercase
(b) should be written in lowercase
(c) should be written in the proper case
(d) can be written in both uppercase and lowercase
Choose the correct tag for the smallest size heading.
(a) <heading>
(b) <h6>
(c) <h1>
(d) <head>
There are ____ different heading tags in HTML
(a) 4
(b) 5
(c) 6
(d) 7
Related: JavaScript quiz with answers
<b> tag makes the enclosed text bold. What is another tag to make text bold?
(a) <strong>
(b) <dar>
(c) <black>
(d) <emp>
Which of the following is not a style tag?
(a) <b>
(b) <tt>
(c) <i>
(d) All of the above are style tags
What is the correct tag for inserting a line break?
(a) <br>
(b) <lb>
(c) <break>
(d) <newline>
The way the browser displays the object can be modified by _____
(a) attributes
(b) parameters
(c) modifiers
Related: python multiple-choice questions
Choose the correct tag for the largest heading.
(a) <H1>
(b) <H6>
(c) <H10>
(d) <HEAD>
How can we make an e-mail link?
(a) <a href=”aaa@domain”>
(b) <mail href=”aaa@domain”>
(c) <mail>aaa@domain</mail>
(d) <a href=”mailto:aaa@domain”>
Which of the following HTML code is valid?
(a) <font colour=”red”>
(b) <font color=”red”>
(c) <red><font>
HTTP
(a) Hypermedia text transfer protocol
(b) Hypertext Transfer protocol
(c) HTML testing program
(d) None of the above
Related: questions and answers PowerPoint presentation
Which attribute is used to name an element uniquely?
(a) class
(b) id
(c) dot
Which of the following is an attribute related to the font tag?
(a) size
(b) face
(c) color
(d) All of the above are style tags.
What tag is used to display a picture on a webpage?
(a) picture
(b) image
(c) img
(d) src
HTML supports
(a) ordered lists
(b) unordered lists
(c) both types of lists
(d) does not support those types
Related: basic computer quiz
Which tag will we use to create a combo box (drop-down box)?
(a) <select>
(b) <list>
(c) <input type=”dropdown”>
What tag is used to list individual items of an ordered list?
(a) LI
(b) OL
(c) UL
Choose the correct tag to make a text bold.
(a) <b>
(b) <bold>
(c) <bb>
(d) <bld>
When should we use the path along with a picture’s file name in the IMG tag?
(a) The path is optional and not necessary.
(b) when the location of the image file and html file are different
(c) when an image file and html file are both in the same location
(d) a path is always necessary when inserting an image
Related: computer hardware quiz questions
Which of the following is not a pair tag?
(a) <p>
(b) < u >
(c) <i>
(d) <img>
Which of the following is not a valid alignment attribute?
(a) Left
(b) Right
(c) Top
Which tag allows us to add a row to a table?
(a) <td> and </td>
(b) <cr> and </cr>
(c) <th> and </th>
(d) <tr> and </tr>
Which attribute is used with the img tag to add a text description if the image cannot be displayed?
(a) description
(b) name
(c) alt
(d) id
Related: database quiz
To create an HTML document, we require a
(a) web page editing software
(b) High powered computer
(c) even a notepad can be used
A webpage displays a picture. What tag was used to display that picture?
(a) picture
(b) mage
(c) img
(d) src
How can we make a bulleted list?
(a) <list>
(b) <nl>
(c) <ul>
(d) <ol>
Which tag allows you to add a row to a table?
(a) <td> and </td>
(b) <cr> and </cr>
(c) <th> and </th>
(d) <tr> and </tr>
Related: cyber security quiz questions and answers
Which of the following is an attribute of <Table> tag?
(a) SRC
(b) LINK
(c) CELLPADDING
(d) BOLD
The special formatting codes in HTML documents used to present content are
(a) Tags
(b) attributes
(c) values
HTML documents start and end with which tag pairs?
(a) <HEAD>….</HEAD>
(b) <BODY>….</BODY>
(c) <HTML>….</HTML>
(d) <WEB>….</WEB>
How can we make a numbered list?
(a) <dl>
(b) <ol>
(c) <list>
(d) <ul>
Related: Operating Systems quiz
What is the correct syntax in HTML for creating a link on a webpage?
(a) <LINK SRC= “services.html”>
(b) <BODY LINK = “services.html”>
(c) <A SRC = “services.html” >
(d) < A HREF = “services.html”>
<SCRIPT> … </SCRIPT> tag can be placed within ____
(a) Header
(b) Body
(c) both A and B
Some tags enclose the text. Those tags are known as
(a) Couple tags
(b) Single tags
(c) Double tags
(d) Pair tags
<TD> … </TD> tag is used for ________
(a) Table heading
(b) Table Records
(c) Table row
Related: questions about automobiles
Choose the correct tag to make the text italic
(a) <ii>
(b) <italics>
(c) <italic>
(d) <i>
The _____ character tells browsers to stop tagging the text
(a) ?
(b) /
(c) >
(d) %
using <P> tag will
(a) Start a new paragraph
(b) break the line
(c) end the current paragraph
(d) none of the above