HTML stands for Hyper Text Markup Language and is a language for describing web pages. HTML is not a programming language, it is a markup language used to markup tags to describe web pages. The general format for a HTML tag is: <tag_name>string of text</tag_name>
Also Read: 100+ Data Structures Related Questions
The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
Q1) Which tag is used to create Hyperlinks.
- Anchor
- Image
- Meta
- Head
Answer: 1
Q2) What is the syntax for comments in HTML?
- <! —————– ->
- < * —————– *>
- <// —————– //>
- </ —————– />
Answer: 1
Q3) Choose the correct HTML tag for the largest heading
- <h6>
- <h1>
- <heading>
- <head>
Answer: 2
Q4) What is the correct HTML tag for making a hyperlink?
- <a href=”filename.html”>abc.com</a>
- <a name=”filename.html””>abc.com</a>
- <a>filename.html</a>
- <a url=”filename.html”>abc.com</a>
Answer: 1
Q5) How can you make an e-mail link?
- <a href=”xxx@yyy”>
- <a href=”mailto:xxx@yyy.com”>
- <mail href=”xxx@yyy”>
- <mail>xxx@yyy</mail>
Answer: 2
Q6) How can you make a list that lists the items with numbers?
- <list>
- <ol>
- <dl>
- <ul>
Answer: 2
Q7) noframes tag is used if
- the user’s browser doesn’t support frames. Anything you type in between the noframes tags is displayed in their browser.
- User don’t want frames.
- User ‘s browser support frames.
- User want to add frameset.
Answer: 1
Q8), <EMBED …> uses the SRC attribute to indicate the location of the plugin data files, and usually also gives a WIDTH and HEIGHT of the plugin area.
- True
- False
Answer: 1
Q9) <sub> tag
- Defines strong text
- Defines emphasized text
- Defines small text
- Defines subscripted text
Answer: 4
Q10) Which sequence of HTML tags are correct?
- <html><head><title></title></head><body></body></html>
- <html><head></head><body><title></<title></body></html>
- <html><head><title></<title><body></body></head></html>
- <html><title></<title><head></head><body></body></html>
Answer: 1
Q11) Which command we use to add an Image?
- <image src=”url”>
- <img src=”url”>
- <src img=”url”>
- <img srcimg=”url”>
Answer: 2
Q12) What is the correct HTML tag for inserting a line break?
- <lb/>
- <br/>
- <break/>
- <hr/>
Answer: 2
Q13) What is the correct HTML for making a checkbox?
- <checkbox>
- <input type=”check” />
- <check>
- <input type=”checkbox” />
Answer: 4
Q14) What is the correct HTML for making a text input field?
- <input type=”textfield” />
- <textinput type=”text” />
- <input type=”text” />
- <textfield>
Answer: 3
Q15) CELLSPACING attribute of <table> tag
- controls the space between table cells.
- sets the amount of space between the contents of the cell and the cell wall.
- Sets space between two tables
- None of the above.
Answer: 1
Q16) <div> tag is an example of container tag.
- True
- False
Answer: 1
Q17) <fieldset> tag is
- is used to logically group together elements in a form.
- draws a box around the related form elements.
- uses the <legend> tag to define a caption.
- All of the above.
Answer: 4
Q18) What does HTML stand for?
- Hyper Text Markup Language
- Home Tool Markup Language
- Hyperlinks and Text Markup Language
Answer: 1
Q19) What is the correct HTML for making a drop-down list?
- <input type=”list” />
- <input type=”dropdown” />
- <list>
- <select>
Answer: 4
Q20) What is the correct HTML for inserting a background image?
- <background img=”background.gif”>
- <img src=”background.gif” background />
- <body background=”background.gif”>
Answer: 3
You may also like:- Top 30 Linux Questions (MCQs) with Answers and Explanations
- 75 Important Cybersecurity Questions (MCQs with Answers)
- 260 One-Liner Information Security Questions and Answers for Fast Learning
- Top 20 HTML5 Interview Questions with Answers
- 80 Most Important Network Fundamentals Questions With Answers
- 100 Most Important SOC Analyst Interview Questions
- Top 40 Cyber Security Questions and Answers
- Top 10 React JS Interview Theory Questions and Answers
- CISSP – Practice Test Questions – 2024 – Set 20 (53 Questions)
- Part 2: Exploring Deeper into CCNA – Wireless (145 Practice Test Questions)