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, 8012👍, 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, 6923👍, 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, 6828👍, 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, 6524👍, 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, 6134👍, 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, 5992👍, 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, 5884👍, 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, 5875👍, 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, 5778👍, 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, 5633👍, 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, 5612👍, 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, 5479👍, 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, 5267👍, 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, 5212👍, 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, 5177👍, 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, 5176👍, 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, 5150👍, 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, 5100👍, 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, 5093👍, 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, 5062👍, 0💬

Frameset and frame
How do I create frames? What is a frameset? Frames allow an author to divide a browser window into multiple (rectangular) regions. Multiple documents can be displayed in a single window, each within its own frame. Graphical browsers allow these frames to be scrolled independently of each other, and ...
2007-03-03, 5041👍, 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, 5036👍, 0💬

What Is a HTML Tag
What is a HTML tag? In HTML, a tag tells the browser what to do. When you write an HTML page, you enter tags for many reasons -- to change the appearance of text, to show a graphic, or to make a link to another page.
2007-03-03, 5031👍, 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, 5025👍, 0💬

1 2 >   Sort: Date