1 2 >   Sort: Date

Including Comments in HTML
How can I include comments in HTML? An HTML comment begins with "<!--", ends with "-->", and does not contain "--" or ">" anywhere in the comment. Do not put comments inside tags (i.e., between "<" and ">") in HTML markup. The following are examples of HTML comment...
2007-03-03, 8538👍, 0💬

Who Developed HTML
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized by the Mosaic browser developed at NCSA. During the course of the 1990s it has blossomed with the explosive growth of the Web. Tim now holds the 3Com Founders chair at the Laboratory for Computer Scie...
2007-03-03, 7917👍, 0💬

What Does a HTML Document Look Like
What Does a HTML Document Look Like? A HTML document is a normal text file with predefined tags mixed with the normal contents of the document. Tags are enclosed in pairs of angle brackets: "&lt" and ">". Below is how a simple HTML document will look like if you open it in a text editor: ...
2007-03-03, 7593👍, 0💬

Show HTML Source Code without Being Interpreted by Browsers
How can I show HTML examples without them being interpreted as part of my document? Within the HTML example, first replace the "&" character with "&" everywhere it occurs. Then replace the "<" character with "<" and the ">" character with ">" i...
2007-03-03, 7425👍, 0💬

HTML Error Checking
How can I check for HTML errors? HTML validators check HTML documents against a formal definition of HTML syntax and then output a list of errors. Validation is important to give the best chance of correctness on unknown browsers (both existing browsers that you haven't seen and future browsers that...
2007-03-03, 6995👍, 0💬

Using Tables to Structure Forms
How can I 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 relative to each other. To position form-related elements relativ...
2007-03-03, 6771👍, 0💬

What Tools to Use to View HTML Documents
What Tools to Use to View HTML Documents? The basic tool you need to view HTML documents is any Web browser, like Internet Explorer (IE) or FireFox. The following tutorial shows you how to view a HTML document with : Write a HTML document and save it as hello.html. Run IE and select the File &gt...
2007-03-03, 6490👍, 0💬

FORM - How to Use IT
How do I use forms? The basic syntax for a form is: <FORM ACTION="[URL]">...</FOR M>When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itsel...
2007-03-03, 6409👍, 0💬

How Many Tags Are Defined in HTML 4.01
How Many Tags Are Defined in HTML 4.01? There are 77 tags defined in HTML 4.01: a abbr acronym address area b base bdo big blockquote body br button caption cite code col colgroup dd del dfn div dl dt em fieldset form h1 h2 h3 h4 h5 h6 head hr html i img input ins kbd label legend li link map meta n...
2007-03-03, 6409👍, 0💬

What Is URI
What Is URI? URI (Uniform Resource Identifier) is a superset of URL. URI provides a simple and extensible means for identifying a resource in a more generic way. For example, the following strings are all valid URIs: ftp://ftp.is.co.za/rfc/rfc1808 .txthttp://www.ietf.org/rfc/rfc239 6.txtldap://[2001...
2007-03-03, 6357👍, 0💬

What is everyone using to write HTML documents?
How comfortable are you with writing HTML documents entirely by hand? Everyone has a different preference for which tool works best for them. Keep in mind that typically the less HTML the tool requires you to know, the worse the output of the HTML. In other words, you can always do it better by hand...
2007-03-03, 6207👍, 0💬

Extra White Spaces before or after Tables
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. Specifically, it is often caused by loose content within the table (i.e., content that is not inside a TD or TH element). There is no standard way to handle loose content within a table. Some browsers...
2007-03-03, 6102👍, 0💬

Placing a Table in the Center of a Page
How do I center a table? You place a table in the center of a page with the help of CSS as shown in this example: In your HTML, use <div class="center"> <table>...</tabl e></div> In your CSS, use div.center { text-align: center; } div.center table { margin-left: auto; mar...
2007-03-03, 5699👍, 0💬

Simplest HTML Page
What is the simplest HTML page? <HTML> <HEAD> <TITLE>Simplest HTML Page!</TITLE> </HEAD> <BODY> Welcome to interview.fyicenter.com! </BODY> </HTML>
2007-03-03, 5682👍, 0💬

Creating Links to Send Emails
How do I create a link that sends me email? Use a mailto link, for example: Send me email at: <A HREF="mailto:me@fyicenter.com" >me@fyicenter.com</A>.
2007-03-03, 5671👍, 0💬

Two Sets of Links with Different Colors
How can I 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 {color: red; background: white} Next, identify ...
2007-03-03, 5668👍, 0💬

How do I align a table to the right (or left)?
Can I nest tables within tables? You can use <TABLE ALIGN="right"> to float a table to the right. (Use ALIGN="left" to float it to the left.) Any content that follows the closing </TABLE> tag will flow around the table. Use <BR CLEAR="right"> or <BR CLEAR="all"> to mark t...
2007-03-03, 5640👍, 0💬

What Is HTML
What is HTML? HTML stands for Hyper-Text Markup Language. HTML is a scripting language that authors can use to embed text tags into a text document to add structural and formatting information. More precisely, HTML gives authors the means to: Publish online documents with headings, text, tables, lis...
2007-03-03, 5592👍, 0💬

Submitting Forms by Hitting ENTER
How do I make a form so it can be submitted by hitting ENTER? You need add JavaScript code to the input fields. When you hit the Enter key, the JavaScript code will be called to submit the form for you.
2007-03-03, 5560👍, 0💬

What Tools to Use to Write HTML Documents
What Tools to Use to Write HTML Documents? The basic tool you need to write HTML documents is any text editor, like notepad on Windows system, or vi on Unix system. If you are looking for some advanced tools to help you writing HTML documents, you can select any one from the following three categori...
2007-03-03, 5554👍, 0💬

Hypertext Link
What is a Hypertext link? A hypertext link is a special tag that links one page to another page or resource. If you click the link, the browser jumps to the link's destination.
2007-03-03, 5534👍, 0💬

Set UI Focus on the First Field of a Form
How do I set the focus to the first form field? You cannot do this with HTML. However, you can include a JavaScript after the form that sets the focus to the appropriate field, like this: <input type="text" id="myinput" name="myinput" ...> </form> <script type="text/javascript">...
2007-03-03, 5532👍, 0💬

Nesting Tables within Tables
Can I nest tables within tables? Yes, a table can be embedded inside a cell in another table. Here's a simple example: <table> <tr> <td>this is the first cell of the outer table</td> <td>this is the second cell of the outer table,...
2007-03-03, 5508👍, 0💬

Can I use percentage values for the WIDTH attributes of TD tags?
How can I avoid using the whole URL? Yes. It should be noted that Netscape and Microsoft's browsers interpret percentage values for <TD WIDTH=...> differently. However, their interpretations (and those of other table-aware browsers) happen to match when combined with <TABLE WIDTH="100%...
2007-03-03, 5504👍, 0💬

1 2 >   Sort: Date