HTML Interview Questions and Answers

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.



<< Previous                Next >>

 

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.


Your Ad Here

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.


Your Ad Here

<< Previous                Next >>

 
Databases Questions and Answers
 
DB2 Interview Questions and Answers
IMS Interview Questions and Answers
MYSQL Interview Questions and Answers
Oracle Interview Questions and Answers
PL/SQL Interview Questions And Answers
Quel Interview Questions and Answers
SQL Interview Questions and Answers

 
 
.NET Interview Questions and Answers
 
ASP Interview Questions and Answers
C# Interview Questions and Answers
Visual Basic Interview Questions and Answers
 
J2EE Interview Questions and Answers
 
Enterprise Java Beans (EJB) Interview Questions And Answers
Hibernate Interview Questions And Answers
Jave Messaging Service (JMS) Interview Questions And Answers
Jave Server Faces (JSF) Interview Questions And Answers
Java Server Pages (JSP) Interview Questions And Answers
Servlets Interview Questions And Answers
Spring Framework Interview Questions And Answers
Struts Framework Interview Questions And Answers
 
JAVA Interview Questions and Answers
 
Core Java Interview Questions and Answers
Java Platform, Micro Edition (Java ME) Interview Questions And Answers
JAVA GUI Interview Questions and Answers
Java Performance Tuning Interview Questions And Answers
JUnit Interview Questions And Answers
Remote Method Invocation (RMI) Interview Questions And Answers
Unified Modeling Language (UML) Interview Questions And Answers
 
Java Application Server Interview Questions And Answers
 
Tomcat Application Server Interview Questions And Answers
WebLogic Application Server Interview Questions And Answers
 
Mainframe Interview Questions and Answers
 
CICS Interview Questions and Answers
COBOL Interview Questions and Answers
IMS Interview Questions and Answers
JCL Interview Questions and Answers
REXX Interview Questions and Answers
TELON Interview Questions and Answers
VSAM Interview Questions and Answers
 
Object Oriented Language Questions and Answers
 
C Interview Questions and Answers
C++ Interview Questions and Answers
Eiffel Interview Questions and Answers
J2EE Interview Questions and Answers
JAVA Interview Questions and Answers
Sather Interview Questions and Answers
Small talk Interview Questions and Answers
 
Operation Systems Interview Questions and Answers
 
MS DOS Interview Questions and Answers
Unix OS Interview Questions and Answers
Windows Interview Questions and Answers
 
Scripting languages Interview Questions and Answers
 
Java Script Interview Questions and Answers
Practical Extraction and Reporting Language Interview Questions and Answers
PHP Interview Questions and Answers
VBScript Interview Questions and Answers
 
UserInterfaces Questions and Answers
 
Foxit Interview Questions and Answers
Glade Interview Questions and Answers
Tweak Interview Questions and Answers
 
WEB Technologies Questions and Answers
 
AJAX Interview Questions and Answers
HTML Interview Questions and Answers
WML Interview Questions and Answers
XML Interview Questions and Answers
 
Interview Tips And Some Common Questions
 
Behavioral Interview Questions And Answers


Your Ad Here