HTML Interview QuestionsDownload HTML Interview Questions PDF
HTML Interview Questions
Grouping is used to group several HTML controls like input, textarea, selects as well as labels ( <label>) within a web form. In HTML <fieldset> element is used for Grouping.
<a href="mailto:email@example.com?Subject=Hello%20again" target="_top">Send Mail</a>
The difference between span and div is that a span element is in-line and usually used for a small chunk of HTML inside a line (such as inside a paragraph) whereas a div (division) element is block-line (which is basically equivalent to having a line-break before and after it) and used to group larger chunks of code.
<div id="scissors"> <p>This is <span class="paper">crazy</span></p> </div>
Further Reading: http://www.htmldog.com/guides/html/intermediate/spandiv/
Semantic HTML or Semantic Markup is HTML that introduces meaning to the web page rather than just presentation.
<form>, <table>, and <article> are examples of Semantic Elements.
Below are the list of few new Semantic Elements introducted HTML5
HTML tag is just opening or closing entity.
</p> are called HTML tags
HTML element encompasses opening tag, closing tag, content (optional for content-less tags)
<p>This is the content</p> : This complete thing is called an HTML element
HTML supports a wide range of media formats for sound, music, videos, movies, and animations. Below is the list extensions supported by each media format.
|Media Type||Formats Supported|
|Images||png, jpg, jpeg, gif, apng, svg, bmp, bmp ico, png ico|
|Audio||MIDI, RealAudio, WMA, AAC, WAV, Ogg, MP3, MP4|
|Video||MPEG, AVI, WMV, QuickTime, RealVideo, Flash, Ogg, WebM, MPEG-4 or MP4|
20+ HTML5 Interview Questions for freshers
Yes, Collapsing white spaces is one good way of writing HTML codes in an organized way. White spaces act similar to a single-spaced character and occupy the same size as rest of the characters. By collapsing multiple white spaces, we can indent lines of text and make the code more readable.
Related Interview Questions
HTML Interview Questions
HTML5 interview questions
Bootstrap Interview Questions
CSS interview questions
CSS3 interview questions
Flex interview questions
Front end Developer Interview Questions
SVG Interview Questions
Web Designing Interview Questions
Photoshop Interview Questions
Adobe Illustrator interview questions
Graphic Designer Interview Questions
UX Designer Interview Questions
UI Designer Interview Questions
Web developer Interview Questions
Subscribe Our NewsLetter
Never Miss an Articles from us.
- Common Interview Questions
- Python Flask Interview Questions
- NoSQL interview questions
- JQuery Interview Questions
- C programming interview questions
- AngularJS Interview Questions
- Express and Node JS Interview Questions
- Core Java interview questions
- HTML Interview Questions
- Laravel interview questions
- Wordpress Interview Questions
- Core PHP Interview Questions