Search On Google

Wednesday, January 2, 2019

Html interview question

Q.1 What is HTML?

HTML stands for Hyper Text Markup Language.
It is a standard scripting language which is used to create and display pages on the Web.

Q.2 Every HTML tags have an end tag?

No. There are some HTML tags that do not need a closing tag. For example: <image> tag, <br> tag.

Q.3 Types of heading does an HTML contain?

There are 6 types heading written following.
<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>


Q.4 What are the new <input> types in form of HTML5?

<input type="email">

Q.5 What are Lists types that are used when creating a web page?

Ordered list - Ordered list displays elements in numbered format.
It is represented by <ol> tag.

Unordered list - Unordered list displays elements in bulleted format.
It is represented by <ul> tag.

Definition list - Definition list displays elements in definition format.
The <dl>, <dt> and <dd> tags are used to define description list.


Q.6 How to create a nested page in HTML page?
HTML iframe tag is used to display a nested webpage.


Q.7 What is marquee tag?

Marquee is used to put the moving text on a web page.
It moves the image or text left, right, up or down automatic.
You should put the text which you want to scroll within the <marquee>......</marquee> tag.

Q.8 How to make a image in background  of a web page?

<body background = "online_tutorial.png">

Q.9 What are empty elements?

HTML elements with no content are called empty elements.
Example:- <br>, <hr>.

Q.10 How to insert a copyright symbol on a browser page?
 Copyright symbol by using &copy; or &#169; in an HTML file.

Q.11 What is <!DOCTYPE html> tag?

No, the <!DOCTYPE html> declaration is not an HTML tag.
There are many type of HTML versionm tags.
<!DOCTYPE html> is used to instruct the web browser about the HTML 5 version page.


Q.12 Tell me new form element types in HTML 5?

Email
Date
Telephone
Number
Search
Color
Time
Url
Range


Q.13 What audio formats are supported by HTML5?

Ogg,
mp3,
WAV


Q.14 Which video formats are supported by HTML5?

Ogg,
mp4,
WebM


Q.15 What is button tag?

The button tag is used in HTML 5. It is generally used to create a "submit" or "reset" button.


Q.16 If you do not write tag <!DOCTYPE html> then page will work?

No, Browser will not be able to identify. So page not function properly.

No comments:

Post a Comment

About Me

My photo
Mumbai, Maharashtra, India