Html Interview Questions And Answers

Html Interview Questions list for experienced

  1. What is HTML?
  2. What are tags?
  3. Do all HTML tags come in pair?
  4. What are some of the common lists that can be used when designing a page?
  5. How do you insert a comment in html?
  6. Do all character entities display properly on all systems?
  7. What is image map?
  8. What is the advantage of collapsing white space?
  9. Can attribute values be set to anything or are there specific values that they accept?
  10. how do you insert a copyright symbol on a browser page?
  11. How do you create links to sections within the same page?
  12. Is there any way to keep list elements straight in an html file?
  13. If you see a web address on a magazine, to which web page does it point?
  14. What is the use of using alternative text in image mapping?
  15. Do older html files work on newer browsers?
  16. Does a hyperlink apply to text only?
  17. If the user's operating system does not support the needed character, how can the symbol be represented?
  18. How do you change the number type in the middle of a list?
  19. What are style sheets?
  20. What bullet types are available?
  21. How do you create multicolored text in a webpage?
  22. Why are there both numerical and named character entity values?
  23. Write a HTML table tag sequence that outputs the following: 50 pcs 100 500 10 pcs 5 50
  24. What is the advantage of grouping several checkboxes together?
  25. What will happen if you overlap sets of tags?
  26. What are applets?
  27. What if there is no text between the tags or if a text was omitted by mistake? Will it affect the display of the html file?
  28. Is it possible to set specific colors for table borders?
  29. How do you create a link that will connect to another web page when clicked?
  30. What other ways can be used to align images and wrap text?
  31. How can I eliminate the extra space after a tag?
  32. How can we use tables to structure forms?
  33. How can we have two sets of links with different colors?
  34. How can we allow file uploads to my web site?
  35. How do I link an image to something?
  36. How to create a link?
  37. How to create a link that opens a new window?
  38. How to let people download a file from my page?
  39. How to create a button which acts like a link?
  40. How can we make a form with custom buttons?
  41. How do we specify page breaks in HTML?
  42. How do we remove the border around frames?
  43. Which should we use, &entityname; or &#number; ?
  44. Is there a way to prevent getting framed?
  45. How can we specify background images?
  46. How can we copy something from a webpage to my webpage?
  47. How do we keep people from stealing my source code and/or images?
  48. How do we create tabs or indents in Web pages?
  49. How do we make a frame with a vertical scrollbar but without a horizontal scrollbar?
  50. How do you create a text on a webpage that will allow you to send an email when clicked?
  51. How do you make a picture into a background image of a web page?
  52. Which HTML tag is used to display the data in the tabular form?

Html interview questions and answers on advance and basic Html with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Html also add your Questions if any you have to ask and for apply in Html Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Html interview questions and answers for freshers and experienced

What is Html ?

Answer : HTML (HyperText Markup Language), is an improved version of SGML(Standard Generalized Markup Language) and is the principal markup language used for structuring web pages and formatting content. The most recent revision to the HTML specification is HTML5

Questions : 1 :: What is HTML?

HTML is short for HyperText Markup Language, and is the language of the World Wide Web. It is the standard text formatting language used for creating and displaying pages on the Web. HTML documents...View answers

Questions : 2 :: What are tags?

Content is placed in between HTML tags 0in order to properly format it. It makes use of the less than symbol (<) and the greater than symbol (>). A slash symbol is also used as a closing tag....View answers

Questions : 3 :: Do all HTML tags come in pair?


No, there are single HTML tags that does not need a closing tag. Examples are the tag and tags.

Questions : 4 :: What are some of the common lists that can be used when designing a page?

You can insert any or a combination of the following list types: – ordered list – unordered list – definition list – menu list – directory list Each of this list types...View answers

Questions : 5 :: How do you insert a comment in html?

Comments in html begins with “<!–“nd ends with “–>”. For example:   <!-- A SAMPLE COMMENT...View answers

Questions : 6 :: Do all character entities display properly on all systems?


No, there are some character entities that cannot be displayed when the operating system that the browser is running on does not support the characters. When that happens, these characters are...View answers

Questions : 7 :: What is image map?

Image map lets you link to many different web pages using a single image. You can define shapes in images that you want to make part of an image mapping.

Questions : 8 :: What is the advantage of collapsing white space?

White spaces are blank sequence of space characters, which is actually treated as a single space character in html. Because the browser collapses multiple space into a single space, you can indent...View answers

Questions : 9 :: Can attribute values be set to anything or are there specific values that they accept?


Some attribute values can be set to only predefined values. Other attributes can accept any numerical value that represents the number of pixels for a size.

Questions : 10 :: how do you insert a copyright symbol on a browser page?

To insert the copyright symbol, you need to type © or & #169; in an HTML file.

Questions : 11 :: How do you create links to sections within the same page?

Links can be created using the tag, with referencing through the use of the number (#) symbol. For example, you can have one line as BACK TO TOP, which would result in the words “BACK TO...View answers

Questions : 12 :: Is there any way to keep list elements straight in an html file?

By using indents, you can keep the list elements straight. If you indent each subnested list in further than the parent list that contains it, you can at a glance determine the various lists and the...View answers

Questions : 13 :: If you see a web address on a magazine, to which web page does it point?

Every web page on the web can have a separate web address. Most of these addresses are relative to the top-most web page. The published web address that appears within magazines typically points this...View answers

Questions : 14 :: What is the use of using alternative text in image mapping?

When you use image maps, it can easily become confusing and difficult to determine which hotspots corresponds with which links. Using alternative text lets you put a descriptive text on each hotspot...View answers

Questions : 15 :: Do older html files work on newer browsers?

Yes, older html files are compliant to the HTML standard. Most older files work on the newer browsers, though some features may not work.

Questions : 16 :: Does a hyperlink apply to text only?

No, hyperlinks can be used on text as well as images. That means you can convert an image into a link that will allow user to link to another page when clicked. Just surround the image within the...View answers

Questions : 17 :: If the user's operating system does not support the needed character, how can the symbol be represented?

In cases wherein their operating system does not support a particular character, it is still possible to display that character by showing it as an image instead

Questions : 18 :: How do you change the number type in the middle of a list?

The <li> tag includes two attributes – type and value. The type attribute can be used to change the numbering type for any list item. The value attribute can change the number index

Questions : 19 :: What are style sheets?

Style sheets enable you to build consistent, transportable, and well-defined style templates. These templates can be linked to several different web pages, making it easy to maintain and change the...View answers

Questions : 20 :: What bullet types are available?

With ordered lists, you can select to use a number of different list types including alphabetical and Roman numerals. The type attribute for unordered lists can be set to disc, square, or...View answers

Questions : 21 :: How do you create multicolored text in a webpage?

To create text with different colors, use the <font color=”color”>…</font> tags for every character that you want to apply a color. You can use this tag combination as...View answers

Questions : 22 :: Why are there both numerical and named character entity values?

The numerical values are taken from the ASCII values for the various characters, but these can be difficult to remember. Because of this, named character entity values were created to make it easier...View answers

Questions : 23 :: Write a HTML table tag sequence that outputs the following: 50 pcs 100 500 10 pcs 5 50

<table> <tr> <td>50 pcs</td> <td>100</td> <td>500</td> </tr> <tr> <td>10 pcs</td> <td>5</td>...View answers

Questions : 24 :: What is the advantage of grouping several checkboxes together?

Although checkboxes don’t affect one another, grouping checkboxes together helps to organize them. Checkbox buttons can have their own name and do not need to belong to a group. A single web...View answers

Questions : 25 :: What will happen if you overlap sets of tags?

If two sets of html tags are overlapped, only the first tag will be recognized. You will recognize this problem when the text does not display properly on the browser screen.

Questions : 26 :: What are applets?

Applets are small programs that can be embedded within web pages to perform some specific functionality, such as computations, animations, and information processing. Applets are written using the...View answers

Questions : 27 :: What if there is no text between the tags or if a text was omitted by mistake? Will it affect the display of the html file?

If there is no text between the tags, then there is nothing to format, so no formatting will appear. Some tags, especially tags without a closing tag like the <img> tag, do not require any text...View answers

Questions : 28 :: Is it possible to set specific colors for table borders?

You can specify a border color using style sheets, but the colors for a table that does not use style sheets will be the same as the text color.

Questions : 29 :: How do you create a link that will connect to another web page when clicked?

To create hyperlinks, or links that connect to another web page, use the href tag. The general format for this is: <a href=”site”>text</a> Replace “site” with the...View answers

Questions : 30 :: What other ways can be used to align images and wrap text?

Tables can be used to position text and images. Another useful way to wrap text around an image is to use style sheets.

Questions : 31 :: How can I eliminate the extra space after a tag?

HTML has no mechanism to control this. However, with CSS, you can set the margin-bottom of the form to 0. For example: <form style="margin-bottom:0;" action=...> You can also use a CSS style...View answers

Questions : 32 :: How can we use tables to structure forms?

Small forms are sometimes placed within a TD element within a table. This can be a useful for positioning a form relative to other content, but it doesn't help position the form-related elements...View answers

Questions : 33 :: How can we have two sets of links with different colors?

You can suggest this presentation in a style sheet. First, specify colors for normal links, like this: a:link {color: blue; background: white} a:visited {color: purple; background: white} a:active...View answers

Questions : 34 :: How can we allow file uploads to my web site?

These things are necessary for Web-based uploads: * An HTTP server that accepts uploads. * Access to the /cgi-bin/ to put the receiving script. Prewritten CGI file-upload scripts are available. * A...View answers

Questions : 35 :: How do I link an image to something?

Just use the image as the link content, like this: <a href=...><img src=... alt=...></a>

Questions : 36 :: How to create a link?

Use an anchor element. The HREF attribute specifies the URL of the document that you want to link to. The following example links the text "Web Authoring FAQ" to...View answers

Questions : 37 :: How to create a link that opens a new window?

<a target="_blank" href=...> opens a new, unnamed window. <a target="example" href=...> opens a new window named "example", provided that a window or frame by that name does not...View answers

Questions : 38 :: How to let people download a file from my page?

Once the file is uploaded to the server, you need only use an anchor reference tag to link to it. An example would be: <a href="../files/foo.zip">Download Foo Now! (100kb ZIP)</a>

Questions : 39 :: How to create a button which acts like a link?

This is best done with a small form: <FORM ACTION="[URL]" METHOD=GET> <INPUT TYPE=submit VALUE="Text on button"> </FORM> If you want to line up buttons next to each other, you...View answers

Questions : 40 :: How can we make a form with custom buttons?

Rather than a normal submit button (<input type="submit" ...>), you can use the image input type (<input type="image" ...>). The image input type specifies a graphical submit button...View answers

Questions : 41 :: How do we specify page breaks in HTML?

There is no way in standard HTML to specify where page breaks will occur when printing a page. HTML was designed to be a device-independent structural definition language, and page breaks depend on...View answers

Questions : 42 :: How do we remove the border around frames?

Removing the border around frames involves both not drawing the frame borders and eliminating the space between the frames. The most widely supported way to display borderless frames is <FRAMESET...View answers

Questions : 43 :: Which should we use, &entityname; or &#number; ?

In HTML, characters can be represented in three ways: 1. a properly coded character, in the encoding specified by the "charset" attribute of the "Content-type:" header; 2. a character entity...View answers

Questions : 44 :: Is there a way to prevent getting framed?

"Getting framed" refers to having your documents displayed within someone else's frameset without your permission. This can happen accidentally (the frameset author forgot to use TARGET="_top"...View answers

Questions : 45 :: How can we specify background images?

With HTML, you can suggest a background image with the BACKGROUND attribute of the BODY element. Here is an example: <body background="imagefile.gif" bgcolor="#ffffff" text="#000000"...View answers

Questions : 46 :: How can we copy something from a webpage to my webpage?

1: Plaintext or any text information viewable from your browser can be easily copied like any other text from any other file. 2; HTML and web scripts - you will need to view the web page's source...View answers

Questions : 47 :: How do we keep people from stealing my source code and/or images?

Because copies of your HTML files and images are stored in cache, it is impossible to prevent someone from being able to save them onto their hard drive. If you are concerned about your images, you...View answers

Questions : 48 :: How do we create tabs or indents in Web pages?

There was a tag proposed for HTML 3.0, but it was never adopted by any major browser and the draft specification has now expired. You can simulate a tab or indent in various ways, including using a...View answers

Questions : 49 :: How do we make a frame with a vertical scrollbar but without a horizontal scrollbar?

The only way to have a frame with a vertical scrollbar but without a horizontal scrollbar is to define the frame with SCROLLING="auto" (the default), and to have content that does not require...View answers

Questions : 50 :: How do you create a text on a webpage that will allow you to send an email when clicked?

To change a text into a clickable link to send email, use the mailto command within the href tag. The format is as follows: <A HREF=”mailto:youremailaddress”>text to be...View answers

Questions : 51 :: How do you make a picture into a background image of a web page?

To do this, place a tag code after the </head> tag as follows: <body background=“image.gif”> Replace image.gif with the name of your image file. This will take the picture...View answers

Questions : 52 :: Which HTML tag is used to display the data in the tabular form?

<table> <tr> <<td>    
More Question

Ask your interview questions on Html

Write Your comment or Questions if you want the answers on Html from Html Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---