Question 1
Question
Which character is used to indicate the end tag of an HTML element?
Question 2
Question
Which of the following elements inserts a line break in HTML file?
Answer
-
<break>
-
<br>
-
<newline>
-
<line>
Question 3
Question
A tag such as <br> is often called ______ because it does not require a closing tag for the element.
Answer
-
break tag
-
short tag
-
brief tag
-
void element
Question 4
Question
The HTML ________is/are the building blocks of HTML documents
Answer
-
link
-
<h1>
-
elements
-
packets
Question 5
Question
All HTML elements must be __________
Answer
-
in lowercase
-
properly nested
-
short
-
closed with a tag
Question 6
Question
Which of the following is a correct way to use comments in HTML?
Answer
-
<comments>This is a line of comments in HTML</comment>
-
<!--This is a line of comments in HTML-->
-
<skip>This is a line of comments in HTML</skip>
-
/*This is a line of comments in HTML*/
Question 7
Question
HTML elements can have attributes. These attributes are used to __________.
Question 8
Question
An inline element is normally displayed without starting a new line
Question 9
Question
Which of the following should be used for the most important heading of a Web page?
Answer
-
<header>
-
<head>
-
<heading>
-
<h1>
Question 10
Question
Which of the following HTML elements is used to define important text?
Answer
-
<em>
-
<strong>
-
<important>
-
<b>
Question 11
Question
Which of the following HTML elements is used to define emphasized text?
Answer
-
<em>
-
<strong>
-
<important>
-
<b>
Question 12
Question
Which HTML element is used to insert an image?
Answer
-
<img src = "myImage.jpg" alt = "My image">
-
<img src = "myImage.jpg>My Image</img>
-
<img>myImage.jpg</img>
-
<img alt = "My Image">myImage.jpg</img>
Question 13
Question
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
Answer
-
alternate
-
alt
-
backup
-
text
Question 14
Question
Which of the following HTML element is used to create a hyperlink?
Answer
-
<a>http://www.createspace.com</a>
-
<a attribute = "http://www.createspace.com">CreateSpace</a>
-
<a url = "http://www.createspace.com">CreateSpace</a>
-
<a href = "http://www.createspace.com">CreateSpace</a>
Question 15
Question
Which HTML element is used to make a numbered list?
Answer
-
<list>
-
<ol>
-
<ul>
-
<number>
Question 16
Question
Which HTML element is used to make a bulleted list?
Answer
-
<list>
-
<ol>
-
<ul>
-
<number>
Question 17
Question
Which HTML element is used to display a webpage within the current webpage?
Answer
-
<input>
-
<newpage>
-
<insert>
-
<iframe>
Question 18
Question
Which of the following HTML elements are used to mark up a table?
Answer
-
<table><tr><td>
-
<tb><tr><td>
-
<body><table>
-
<table><ul><li>
Question 19
Question
Which of the following HTML code, if you need a few extra space between 2017 and Your name, what can you do?
<p>COPYRIGHT ©2017 Your name</p>
Answer
-
Add a few space like this "2017 Your name"
-
Add a space element like <space>
-
Add a few in where you want the space
-
Any of the above works fine
Question 20
Question
Which HTML element is used to specify a footer for a document or section?
Answer
-
<footer>
-
<foot>
-
<endofdocument>
-
<eod>
Question 21
Question
Which HTML element is used to specify a navigation for a page?
Answer
-
<navigation>
-
<nav>
-
<navigate>
-
<menu>
Question 22
Question
Which HTML element is used to specify content aside from the page content?
Answer
-
<footer>
-
<side>
-
<aside>
-
<sidebar>
Question 23
Question
Which HTML element is used to specify a header for a document or section?
Answer
-
<header>
-
<head>
-
<section>
-
<document header>
Question 24
Question
Which HTML element is used to make a text input field in a form?
Question 25
Question
Which HTML element is used to make a checkbox in a form?
Question 26
Question
Which HTML element is used to make a dropdown list in a form?
Question 27
Question
Which HTML element is used to make a text area in a form?
Question 28
Question
Which attribute in HTML form is used to specify that an input field must be filled out?
Answer
-
checked
-
placeholder
-
value
-
required
Question 29
Question
Who is making the standard for the Web?
Question 30
Question
HTML 5 was the result of hard work of W3C from the first day.