Hypertext Markup Language is the authoring software language used on the Internet's World Wide Web. HTML is used for creating World Wide Web pages.
In practical terms, HTML is a collection of platform-independent styles (indicated by markup tags) that define the various components of a World Wide Web document. HTML was invented by Tim Berners-Lee while at CERN, the European Laboratory for Particle Physics in Geneva.Hyper Text Mark-Up Language (HTML), a subset of Standard Generalized Mark-Up Language (SGML) for electronic publishing, the specific standard used for the World Wide Web.
HTML Interviews are getting tough these days as the technology grows faster. To get through the HTML interview one needs to update him/herself in a regular manner. Having said that, just before the interview, it is very important to have a quick glance of the reputed HTML questions and answers to make yourself comfortable during the interview process. This is where DoAnswers.com helps you in renewing yourself on HTML and various other technologies interview preparation.
31. How do you create tabs or indents in Web pages?
There was atag 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 transparent GIF, but none are quite as satisfactory or widely supported as an official tag would be.
32. Is there a site that shows which tags work on which browsers?
There have been several attempts to do this, but I'm not aware of any really good source of comparisons between the browsers. The trouble is that there are many different versions of each browser, and many different tags. All current browsers should support the tags in the official HTML 3.2 specification, but the major ones also support nonstandard tags and sometimes have slightly different implementations. One place that has fairly good compatibility info is Browsercaps.
33. Is there a way to get indexed better by the search engines?
The best way is to provide good content and to avoid any tricks like repeatedly including the same keywords, or putting keywords in white-text-on-white-background to fool search engines. And get links from other sites. That increases your popularity and hence your position in the search results. In the past you could use the META tag "keywords" to suggest extra keywords. This no longer works, because it has been heavily abused. You can however still use: This allows you to suggest a descriptive text that a search engine could show if this page is found in a search. You can put up to 1022 characters in the CONTENT attribute.
34. My images/hyperlinks are coming out all wrong, or don't load! What's up?
Most likely you forgot to close a quote at the end of an HREF or SRC. Alternatively, perhaps you used a ">" character in an ALT text or somewhere else inside a tag. Although this is legal, several older browsers will think the tag ends there, so the rest is displayed as normal text. This especially happens if you use comment tags to "comment out" text with HTML tags. Although the correct syntax is (without "--" occurring anywhere inside the comment), some browsers will think the comment ends at the first > they see.
35. Should I put quotes around attribute values or not?
It depends. It is never wrong to use them, but you don't have to if the attribute value consists only of letters, digits, periods and/or hyphens. Oh, and keep in mind that if you use double quotes, you should escape any quotes inside the value with """ so you don't accidentally terminate the value prematurely.
36. Should I use lower case or upper case for tags?
Tags are case insensitive, so it doesn't matter. This is just a matter of style. Many people prefer upper case, as it makes the tags "stand out" better amongst the text.
37. The colors on my page look different when viewed on a Mac and a PC.
The Mac and the PC use slighly different color palettes. There is a 216 "browser safe" color palette that both platforms support; the Microsoft color picker page has some good information and links to other resources about this. In addition, the two platforms use different gamma (brightness) values, so a graphic that looks fine on the Mac may look too dark on the PC. The only way to address this problem is to tweak the brightness of your image so that it looks acceptable on both platforms.
38. What is HTML?
HyperText Markup Language: HTML is a plain text file with commands to tell the Web browsers how to display the file. Tim Berners-Lee created HTML while at CERN, (the European Laboratory for Particle Physics) in Geneva.
39. Where can I find graphics to use on my page?
There are many sites offering free use of graphics, although most will require a link to them, showing credit. You can do a search at any of the search engines and get thousands of places to look. You can also buy CDs with graphics on them. Check to be sure they state "royalty free" on the CDs. Here's my collection of graphics links, which includes how to make your own graphics, and where to find graphics offered by folks for public domain.
40. Where can I find more detailed information?
My Bare Bones Guide to HTML is designed to be a concise cheat sheat, not a step-by-step tutorial. The HTML guides section of my WWW Help Page links to several more detailed resources. The World Wide Web Consortium maintains the official HTML specification, and has many useful resources on its site.