1 2 >   Sort: Rank

Is Ajax just another name for XMLHttpRequest?
Is Ajax just another name for XMLHttpRequest? No. XMLHttpRequest is only part of the Ajax equation. XMLHttpRequest is the technical component that makes the asynchronous server communication possible; Ajax is our name for the overall approach described in the article, which relies not only on XMLHtt...
2009-06-23, 5054👍, 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, 7606👍, 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, 5804👍, 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, 5830👍, 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, 6279👍, 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, 5636👍, 0💬

URL with or whithout Domain Names
How can I avoid using the whole URL? The URL structure defines a hierarchy (or relationship) that is similar to the hierarchy of subdirectories (or folders) in the filesystems used by most computer operating systems. The segments of a URL are separated by slash characters ("/"). When navigating the ...
2007-03-03, 5531👍, 0💬

Forms and Pull-Down Navigatin Menus
How can I use forms for pull-down navigation menus? There is no way to do this in HTML only; something else must process the form. JavaScript processing will work only for readers with JavaScript-enabled browsers. CGI and other server-side processing is reliable for human readers, but search engines...
2007-03-03, 5367👍, 0💬

Two or More Actions in the Same Form
Can I have two or more actions in the same form? No. A form must have exactly one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., updating a database, sending email, logging a transaction) in response to a single form s...
2007-03-03, 5454👍, 0💬

Eliminating the Extra White Space after Forms
How can I eliminate the extra space after a form? 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=...> ... </form>
2007-03-03, 5627👍, 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, 5651👍, 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, 5700👍, 0💬

Memorizing HTML Tags
Do I have to memorize a bunch of HTML tags? Yes. Most programs that help you write HTML code already know most tags, and create them when you press a button. But you must understand what a tag is, and how it works. That way you can correct errors in your page more easily.
2007-03-03, 5620👍, 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, 7165👍, 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, 6600👍, 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, 5867👍, 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, 6958👍, 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, 5768👍, 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, 5717👍, 0💬

What is DOCTYPE
What is a DOCTYPE? Which one do I use? According to HTML standards, each HTML document begins with a DOCTYPE declaration that specifies which version of HTML the document uses. Originally, the DOCTYPE declaration was used only by SGML-based tools like HTML validators, which needed to determine which...
2007-03-03, 5473👍, 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, 6346👍, 0💬

Writing HTML Documents Entirely by Hand
How comfortable are you with writing HTML documents entirely by hand? Very. I do not usually use WYSIWYG. The only occasions when I do use Dreamweaver are when I want to draw something to see what it looks like, and then I will usually either take that design and hand-modify it or build it all over ...
2007-03-03, 5620👍, 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, 5661👍, 0💬

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, 8697👍, 0💬

1 2 >   Sort: Rank