Practice test
Html - Test Set 1
Review 20 exam-focused questions with detailed explanations, then start the interactive test when you are ready.
20 questions
Questions and explanations
- What does HTML stand for?
Question 1
- Hyper Text Markup Language
- Hyperlinks and Text Markup Language
- Home Tool Markup Language
- Hyper Text Managing Links
View explanation
Sign In to See Explanations. Sign Up Here
- An HTML Program is saved by using the ________ extension.
Question 2
- .ht
- .html
- .hml
- None of these
View explanation
Sign In to See Explanations. Sign Up Here
- What is the default alignment of text in an HTML document?
Question 3
- Left
- Center
- Justify
- Right
View explanation
Sign In to See Explanations. Sign Up Here
- Who is considered as the ‘Father of HTML’?
Question 4
- Sergey Brin
- Tim Berners Lee
- Rasmus Lerdorf
- Brendan Eich
View explanation
Sign In to See Explanations. Sign Up Here
- What is the correct syntax of doctype in HTML5?
Question 5
- <!doctype html>
- </doctype html>
- <!DOCTYPE html>
- <doctype html>
View explanation
Sign In to See Explanations. Sign Up Here
- The correct sequence of HTML tags for starting a webpage is:
Question 6
- Head, title, HTML, body
- HTML, head, body, title
- HTML, head, title, body
- HTML, body, title, head
View explanation
Sign In to See Explanations. Sign Up Here
- What if one does not use the doctype in the starting of an HTML document?
Question 7
- Browser finds the document in quirky mode
- Browser finds a document in standard mode
- Browser crashes after showing the page
- Browser stops working
View explanation
Sign In to See Explanations. Sign Up Here
- Which of the following defines the title of a work?
Question 8
- <cite>
- <hr>
- <a>
- <address>
View explanation
Sign In to See Explanations. Sign Up Here
- Which of the following are the boldface tags instructions for the web browser?
Question 9
- <Br> and </Br>
- <Bo> and </Bo>
- <Bl> and </Bl>
- <B> and </B>
View explanation
Sign In to See Explanations. Sign Up Here
- Which of the following element is responsible for making the text bold in HTML?
Question 10
- <br>
- <b>
- <a>
- <pre>
View explanation
Sign In to See Explanations. Sign Up Here
- What is the correct way to make a comment in HTML?
Question 11
- <!-- This is a comment -->
- # This is a comment
- // This is a comment
- /* This is a comment */
View explanation
Sign In to See Explanations. Sign Up Here
- Which tag is used to create a drop-down list in HTML?
Question 12
- <list>
- <option>
- <select>
- <dropdown>
View explanation
Sign In to See Explanations. Sign Up Here
- What is the correct HTML tag for inserting a line break?
Question 13
- <br>
- <break>
- <line>
- <lb>
View explanation
Sign In to See Explanations. Sign Up Here
- How to create an unordered list (a list with the list items in bullets) in HTML?
Question 14
- <li>
- <ul>
- <i>
- <ol>
View explanation
Sign In to See Explanations. Sign Up Here
- Which character is used to represent the closing of a tag in HTML?
Question 15
- !
- \
- /
- .
View explanation
Sign In to See Explanations. Sign Up Here
- How to create a hyperlink in HTML?
Question 16
- <a href = "..."> </a>
- <a link = "...."> </a>
- <a url = "...." /a>
- <a> .... < /a>
View explanation
Sign In to See Explanations. Sign Up Here
- How to create an ordered list (a list with the list items in numbers) in HTML?
Question 17
- <ul>
- <li>
- <i>
- <ol>
View explanation
Sign In to See Explanations. Sign Up Here
- Which of the following defines a section in a web page?
Question 18
- <div>
- <sup>
- <sub>
- <del>
View explanation
Sign In to See Explanations. Sign Up Here
- How to insert an image in HTML?
Question 19
- <img url = "..." />
- <img href = "..." />
- <img link = "..." />
- <img src = "..." />
View explanation
Sign In to See Explanations. Sign Up Here
- Which of the following tag is used to make the underlined text?
Question 20
- <ul>
- <pre>
- <u>
- <i>
View explanation
Sign In to See Explanations. Sign Up Here