This site provides all the HTML Interview Questions And Answers For Freshers in a bunch related to each IT subject present at this site. In the current era, when students are looking for a job then the technical questions related to the programming knowledge are asked into the interview to the interview-person. To prepare the technical round of the interview, job seeker has to clear this round by answering these questions. Here all the technical questions are available in the simplest form so that students can understand easily because this site’s purpose is to provide the easy learning at one click. Here all the Latest HTML Interview Questions And Answers are available which goes up to basic level to advance level.
We know that HTML is used to develop the webpages. So companies have to check the knowledge of the web designing. If any person has the knowledge then he/she can get extra advantage to other interview person. Here all questions related to the HTML is available, user just visit to eitworld.com to get the better experience and then user feel and get the best experience.
We know that HTML is backbone of the web designing so for this purpose, technical officer have to check the basic understanding of the HTML. So they put the questions to the interview person. If he/she gives the proper answers to the officers then they can also ask code to design any form or other function. Thus we provide these types of questions to clear the interview at first click. Here we provide the HTML Interview Questions For Experienced and for basic level to advanced level.
Eitworld.com also covers the Basic HTML Interview questions and answers for freshers to fulfill the requirement of academics. So that students can take the advantage in their exam to lead the marks. We can say that eitworl.com provides the each kind of possible ways to connect the students because we provide the education at one click means all the technology related to the IT are present here. It makes easy for the students who wish to attend the interview and clear it with great success. This successful HTML tutorial is here provided which provides the great experience to the user even that user visits this site first time.
Now Let's see the list of top HTML interview questions.
1.What is HTML?
Answer: HTML stands for Hyper Text Markup Language. HTML is a web development languge which can be used for developing web pages or a complete website.
2.Which extension is used to save the HTML document?
Answer: ".html" extension is used to save the html document. Like "myfile.html".
3.What do you mean by HTML Tag?
Answer: HTML tags are keywords that are used to specify how the content of the page will be displayed.HTML tags are always enclosed within angle brackets like <tag>. There is generally a pair of every tag, one is start (or opening) tag and other is end (or closing) tag. End tag is written like </tag> .
E.g. <Name of Tag>Content </ Name of Tag>
4.What do you mean by HTML Elements?
Answer: A tag along with its content is called an HTML Element. The line given below shows an HTML Element:
<b> Example of Element </b>
5.Do all HTML tags come in pair?
Answer: No, For some tag, there is no End tag defined. Only start tag is used for them.The tags that have no End tag defined for them, their start tag is closed with a slash( / ).
6. What is the difference between HTML Tags and HTML Elements?
Answer: HTML Tags only include the marking of beginning and ending of an element but on the other side a HTML Element is defined by a opening tag and if that element contains other content, it ends with a closing tag.
For example <h1> and </h1> both are tags but "<h1>This is h1 tag.</h1>" is a html element.
7.What do you mean by Void HTML Element?
Answer: Html element which does not contain any content and closing tag is known as Void Html Element or Empty Html Element.Void elements can be "closed" in the opening tag like this: <hr />.<img.../>, <hr /> and <br /> etc. are the examples of Void HTML Elements.
8.Tell me about the history of HTML?
Answer: In 1980, physicist Tim Berners-Lee, who was a contractor at CERN, proposed and prototyped ENQUIRE, a system for CERN researchers to use and share documents. In 1989, Berners-Lee wrote a memo proposing an Internet-based hypertext system. Berners-Lee specified HTML and wrote the browser and server software in the last part of 1990. In that year, Berners-Lee and CERN data systems engineer Robert Cailliau collaborated on a joint request for funding, but the project was not formally adopted by CERN. In his personal notes from 1990 he lists "some of the many areas in which hypertext is used" and puts an encyclopedia first.
9.What do you mean by <!DOCTYPE> in HTML?
Answer: <!DOCTYPE> declaration tells the browser that which version of html we are going to use.It is not an HTML tag. It can be called a declaration which must be given as the first line of the document.
10.Is <!DOCTYPE> case-sensitive?
Answer: No, <!DOCTYPE> is case- insensitive.
11.How many heading tags are present in the HTML?
Answer: There are 6 heading tags are present in HTML. <h1>, <h2>, <h3>, <h4>, <h5>, <h6> are the HTML heading tags.<h1> presents the most important heading and <h6> presents the least important heading.
12. Does <p> tag preserve the spaces and line breaks?
Answer: No, <p> tag doesn't preserve the spaces and line breaks. It considers all consecutive spaces and line changes, as a single space. It means no matter how many time space and enter are pressed between two words; it will show only a single space between those words in output.
13.Which HTML tag is used for the line breaking?
Answer: <br> tag is used for the line breaking in HTML.
14.Which tag is used for preformatted text?
Answer: <pre> tag is used for preformatted text i.e. to preserve your spaces and line breaks. It shows the text in output as it is written in input.
15.What do you mean by HTML Attributes?
Answer: HTML attributes contain additional information about the html elements.Attributes appear inside the opening tag and their values sit inside quotation marks.
16.What do you mean by alt attribute?
Answer: The alt attribute specifies an alternative text for an image.The browser shows the alternative text when an image cannot be displayed.
17. Which tag is used to create hyperlink in the html document?
Answer:Anchor tag <a> is used to create a hyperlink in the html document.
18. Does a hyperlink apply to text only?
Answer: No, an image or a button can also be used as a hyperlink.
19. Tell me about the default states of the HTML hyperlink.
Answer: By default, there are three states of a hyperlink-
1.Unvisited link- It looks blue and underlined.
2.Visited link- It looks purple and underlined.
3.Active (focused) link- It looks red and underline.
20. Which tag is used for creating unorderd list in html document?
Answer: <ul> tag is used for creating unorderd list in html document.
21. Which tag is used for creating orderd list in html document?
Answer: <ol> tag is used for creating orderd list in html document.
22.Which tag is used for creating description list in html document?
Answer: <dl> tag is used for creating orderd list in html document.
23. How do you make a picture into a background image of a web page?
Answer: To do this you have to use the background attribute with the body tag as given below:
<body background = "html.jpg">
You can replace html.jpg with the name of your image file. This will take the picture and make it the background image of your web page.
24. What do you mean by comments?
Answer: Comments are those statements which can not be displayed by the browser, but they give the information about your html document.
25. Which tag is used to insert comments in HTML?
Answer: Comment tags <!-- and --> are used to insert comments in HTML.
26. What are the different versions of HTML?
Answer: HTML has many version as HTML, HTML+, HTML 2.0, HTML 3.2, HTML 4.01, XHTML 1.0, HTML 5, XHTML 5.
27. Which HTML tag is used to insert image in HTML document?
Answer: <img> tag is used to insert images in HTML document.
28. Which tag is used to create table in HTML document?
Answer: <table> tag is used to create table in HTML document.
29. How can you change backgroud color of web page in html?
Answer: Background color of web page in html can be changed using bgcolor attribute in <body> tag as given below:
<body bgcolor = "blue">
30. What are the types of HTML List?
Answer: There are three types of lists in HTML:
31. Which editor can be used for the HTML?
Answer: Notepad, EditPlus, Dreamviewer, WYSIWYZ editores can be used for the HTML.
32. Can I nested table within tables in HTML?
Answer: Yes you can also use one html table into another table. Here is its example:
<table border="4" bordercolor="gray">
<td> <table border="4" bordercolor="gray">
Answer: <tr> tag is used to create a row in table.
34. Which tag is used to create column in a row?
Answer: <td> tag is used to create a column in a row.
35. Which tag is used to create a heading of a column?
Answer: <th> tag is used to create a heading of a column.
36. What do you mean by spanning?
Answer: Spanning means occupying more than one row or column by a single cell.This will be done with the help of two attributes of <th> or <td> tags. For spanning of rows, rowspan attribute is used.For spanning of columns, colspan attribute is used.
37. What do you mean by caption?
Answer: Caption is a short description of anything so that it may be understood what that thing is made for. In easy words, caption is the heading of the table.It is used just after the opening tag of table element.
38. What do you mean by image mapping?
Answer: Image mapping is making some part of the image clickable. By doing this, a single image can be used as multiple links.<map> and <area> tags are used for image mapping.
39. What is CSS?
Answer: CSS stands for Cascading Style Sheet. CSS is used to put styles in the web page elements.
40. How can you add style in HTML document?
Answer: The styles can be added to the HTML document by three methods-
Inline- When style attribute is used in each element that is to be styled, this is called Inline Style.
Internal- When style element (<style>) is used in the current html document, this is called Internal Style.
External- When an external css file (style sheet) is used for styling, this is called External style.
41. What do mean by multimedia?
Answer: Sound, music, animations, videos, movies and images etc which you can see or hear present under the term "multimedia".
42. What do you mean by HTML Form?
Answer: Form is used to take data from user and pass it on server.<form> tag is used to create a form.The