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.
21. How do I make a graphic a link?
Including the "img" tag between the "a href" tag and the "a" closing tag:
22. How do I make text show as bold?
Placing the tag before the text will make everything bold, until you close the tag with (Or using tags will do the same.)
23. How do I make text show in italics?
Placing the tag before the text will make everything in italics, until you close the tag with (Using emphasis tags will do the same.)
24. How do I put pictures on my page?
You first need to create the image in a graphics program. The standard format for Web page graphics is GIF, although JPEG is also supported by the major browsers today. The next step is to put the graphic onto your Web server. How you do this depends on your Web hosting provider, but it will usually be the same way you upload your Web pages to the server. To display the graphic on your page, use the tag . Replace "filename.gif" with the name and path to your image file. If the file is in the same directory as the Web page, you just need the name of the file; if it is somewhere else you need to use the directory or full URL of the file.
25. How do I put sounds on my page?
There are several ways to add sound files to your page that play automatically when the page is loaded. The makers of Crescendo, a plugin for playing MIDI sound files, have a useful page explaining various options and how to implement them.
26. How do I redirect someone to my new page?
The most reliable way is to configure the server to send out a redirection instruction when the old URL is requested. Then the browser will automatically get the new URL. This is the fastest way to do this. You can of course also simply put up a small page with a text like "This page has moved to http://new.url/, please adjust your bookmarks". A less reliable option is to use:
27. How do I 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 things like the fonts and paper size that the person viewing the page is using.
28. How do I upload files to my site?
There are several different ways to get files or graphics onto a Web server so that they can be accessed through the Internet. It depends on how your Web hosting provider has set up their system, and free home page services like Geocities and Angelfire may have different procedures than full-fledged Internet Service Providers like AOL or Netcom. All I can suggest is that you contact your service provider, or look for more detailed information in their online help files.
29. How do I use a picture as the background?
Include the element "background" with the name of the graphics file: (Note: the "bgcolor" element remained along with the added "background" element. This way, the browser will display the color you designate while the background graphic is loading. Not required, but using a color similar to the background file will ensure viewers can see your page well enough to begin reading while the background graphic is loading.)
30. How do I use an image instead of the standard submit button?
Use instead of the normal submit tag. There is no way to do this for the reset button. Note that browsers will also send the x and y coordinates of the location where the user clicked on the image to the server. They are available as "foo.x=000&foo.y=000" in the CGI input.