Top 5 HTML Interview Questions.(Part 1)
1. What is HTML?
HTML stands for Hypertext Markup Language. It Is a markup language for world wide web. HTML was developed by Tim Berners Lee during 1990’s. It consists of tags which are used to define content and web page formatting.
2. What is DOCTYPE?
DOCTYPE stands for Document Type Declarations. DOCTYPE is USED to specify the web browsers that which types of documents (such as SGML or XML Documents) it will receive. <! DOCTYPE> is declared above the <html> tag.
3. What are the different version of HTML?
HTML has many versions since it inceptions during 1990’a. HTML version are HTML, HTML+, HTML2.0, HTML 3.2, HTML 4.0 and HTML5.
4. What are HTML Tags?
HTML tags similar to keywords which has specifies function, for example, for paragraph we can use HTML tag <p>. HTML tags mostly comes in pair like <p></p>.
5. What is Element?
An HTML element is everything from starting to the ending of HMTL tags. For example, <p> This is an HTML Element</p>, in the example, form starting tag to ending tag everything is HTML element and “This is HTML element” is Element content.