1
Which one is not a valid HTML5 meta tag
View Answer
<META CHARSET=UTF-8>
<meTa CHARset=“utf-8 ”>
<Metacharset = “utf-8” >
<META CHARSET=“UTF-8” />
2
Which one is a wrong defined class?
View Answer
<div class=definition></div>
<div class=definition high></div>
<div class=”definition”></div>
<div class= “definition high” ></div>
3
Find the wrong attribute value
View Answer
<a href="https://www.iqaweb.com" target="_bottom">HTML Questions For Beginners</a>
<a href="https://www.iqaweb.com" target="_top">HTML Odd One Out Questions</a>
<a href="https://www.iqaweb.com" target="_parent">HTML & A</a>
<a href="https://www.iqaweb.com" target="_new">HTML IQ</a>
4
Spot the error comments
View Answer
<!-- HTML Q & A -->
<!-- <p>HTML Questions & Answers</p>
<p> for beginers</p> --><div><p>Spot The Errors</p></div> <!-- Errors In HTML -->
<!-- Download <a href="https://www.iqaweb.com"> -->PDF Download</a>
5
The following anchor tag is not a valid tag to redirect to hteml website
View Answer
<a href=”http://www.iqaweb.com/”>www.iqaweb.com</a>
<a href="www.iqaweb.com">https://iqaweb.com/html/?interview=objective-type</a>
<a href=”http://iqaweb.com”>https://iqaweb.com/css/?interview=questions</a>
<a href=”https://www.iqaweb.com”>https://iqaweb.com/css/?interview=objective-type</a>
6
The wrong tag
View Answer
<p class="home" id="home">PHP Interview Questions and Answers</p>
<p class="home" class="home">ASP Interview Questions and Answers</p>
<p class="home-home" id="home">JAVA Interview Questions and Answers</p>
<p class="home id" >MYSQL Interview Questions and Answers</p>
7
Incompleted or Wrong value
View Answer
<a href=php>PHP</a>
<a href=”../php”>PHP</a>
<a href=”?php&q&a”>PHP</a>
<a href=”?php#q&a”>PHP</a>
8
Spot the error in anchor tag
View Answer
<a href="html/">html</a>
<a href="html/" alt="Web Designing">html</a>
<a href="html/" title=”Web Designing”>html</a>
<a href="html">html</a>
9
Wrong tag
View Answer
<b></b>
<i></i>
<u></u>
<hr></hr>
10
Invalid html5 form element
View Answer
<input type="week" >
<input type="number" >
<input type="range" >
<input type="emailid" >