Skip to main content

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.

For Video Tutorials click Here

Comments

Popular posts from this blog

Use of HTML Quotation, Blockquote and Cite.

1. Quotation            In HTML for quotation mark you need to use <q>--</q> tag. The browser can understand the meaning of  <q> tag.
Syantax: <q> Sentence for quotation </q>
Example:<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> HTML Quotation</TITLE>
<HEAD>
<BODY>

    <H1> Example of HTML quotation mark</H1>

    <H2><p><q>A complete tutorial of HTML with htmlrun.com</q>
    </p></H2>

</BODY>
</HTML>


Output:


2. Blockquote.        In HTML for blockquote you have to use <blockquote> tag. To make a block of any paragraph with just like a justify alignment in word.

Syntax:<blockquote> Large number of sentences </blockquote>
Example:<!DOCTYPE HTML>
<HTML>
<HEAD>
    <TITLE> HTML BLOCKQUOTE</TITLE>
</HEAD>
<BODY>
<H1>Example of Blockquote</H1>

<BLOCKQUOTE>
A www.htmlrun.com is a HTML tutorial website and
a blog. Usi…