Hello Friends today in this article I provides frequently asked HTML interview questions and answer and HTML5 interview questions and answers are given below.
Question.1-What is HTML?
HTML stands for ( Hyper Text Markup Language). html used to create web pages. HTML have multiple of elements and elements tell the browser how to display the content.
Question.2- Do all HTML tags have an end tag?
No, there are many html tags that don’t need the closing tag. For Example (image, br)
Question.3- What is formatting in HTML?
By using html text formating we change the look and feel of text like color, font weight, font size,italicized, underlined etc.
Question.4- What are tags ?
HTML Tags are just like hidden kewords in your webpage , HTMl tag defines how your content looks like but tags never shown on web page only content show.
HTML tags have three things like
Question.5- How to create a hyperlink in HTML?
In HTML there is a Anchor tags to create hyperlink, and that hyperlink link another page.
Question.6- What is the difference between HTML elements and tags?
HTML tags comes with opening and closing tag Example.(<p></p>)
And when HTML tags comes with opening and closing tag with content the its called element. Example (<p>HTML elemets</p>)
Question.7- What is an image map?
By using HTML image map facility we can just add multiple links on one image, It is represented by <map> tag.
Question.9- What is a marquee?
HTML <marquee> tag is used to scroll image and text up, down, left, and right. We have to put the text and image which we want to scroll between <marquee> For Example
<marquee>This is Demo Text</marquee>
Question.10-What are empty elements?
HTML elements with no content are called empty elements. For example: <br>, <hr> etc.
Question.11-What are the different new form element types in HTML 5?
There are many new elements comes in HTML5.
Question.12-Which type of video formats are supported by HTML5?
HTML 5 supports three types of video formate : mp4 WebM Ogg