HTML Interview Questions

HTML Interview Questions Download HTML Interview Questions PDF

HTML Interview Questions

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 TypeFormats Supported
Imagespng, jpg, jpeg, gif, apng, svg, bmp, bmp ico, png ico
AudioMIDI, RealAudio, WMA, AAC, WAV, Ogg, MP3, MP4
VideoMPEG, AVI, WMV, QuickTime, RealVideo, Flash, Ogg, WebM, MPEG-4 or MP4
HTML is a widely used language that gives our webpage a structure. HTML stands for HYPERTEXT MARKUP LANGUAGE. HTML was created by Berners lee in 1991. A markup language is a set of markups tags. Every webpage is created in HTML. HTML documents are described in HTML tags.
HTML means Hypertext Markup Language.
This language is basically used for creating web applications and also for web pages as well. It is a standard markup language with cascading style sheets and JavaScript which form a triad for WWW i.e. worldwide Web.HTML came into existence in 1980 when a great computer professor Sir Tim Berners Lee (a contractor and author of HTML) proposed an idea in CERN, to basically sharing and using documents. So in this way, a great language came into existence.
Sir Tim Berners-Lee, a great physicist who is a great personality is the author of HTML. He is also the director of the World Wide Web Consortium i.e. W3C. He is also the founder of WWWF i.e.World wide Web Foundation. Open Data Institute is founded by him and also he is director of this institute.H e is a director of the Web Science Research Initiative i.e. WSRI and a member of the advisory board of the MIT Center for Collective Intelligence. Sir Tim Berners is a great personality, as he is the professor of the computer department and also the founder of many institutes and Research initiatives. An idea struck into his mind, how can a computer be made helpful for using and sharing documents. So, he designed the most trending and tremendous language, through which it is very easy to make web pages and all. Also, it is most trending and still is in use rather like other outdated languages.
The sequence of characters or other symbols which we usually use to insert at certain places in a word or text file in order to indicate how the file should look when it is displayed or printed or Basically to describe documents logical structure. The markup indicators are often known as tags. Elements and tags are two different words which we need to understand as there is a lot of confusion among public related to this fact. It must be noted that HTML documents contain tags, but do not contain the elements. It is a wide misconception that usually occurs in mind that both exist in HTML documents.elements are usually only generated after parsing step from these tags
20+ HTML5 Interview Questions for freshers

A Physical tag has physical text which is used to tell the browser how to display the text enclosed in the physical tag.

Example for the physical tags are: <big>, <b>, <i>

Logical tags are used to tell the meaning of the enclosed text in it. The example of the logical tag is <Important>….</Important> tag. When we enclose text in Important tag then it tell the browser that enclosed text is more important than other text.