Web Design Guide

Understanding HTML Section


 

Understanding HTML Navigation

Main Home Page
Partners
Tell A Friend about us
Web Site Design Firm |
Concorsi Web Design Luglio 2008 |
Web Design In Louth |
Hair Web Design |
Florida Web Site Design |
Escort Web Design |
Miami Web Design |
Web Design Or Website Design Online Courses |
Nonpareil Web Design |
Web Design Course |

List of Web-Design Articles

Understanding HTML Best seller

Buy it Now!



Best Understanding HTML products

Sitemap

"I had to stop driving my car for a while... the tires got dizzy."

by Steven Wright

"The library is the temple of learning, and learning has liberated more people than all the wars in history."

by Carl T. Rowan

"Every time I get something under control in my own life, the world provides more material."

by Cathy Guisewite

"I am probably the most selfish man you will ever meet in your life. No one gets the satisfaction or the joy that I get out of seeing kids realize there is hope."

by Jerry Lewis

"Life is what we make it, always has been, always will be."

by Grandma Moses

"Be thankful for what you have; you'll end up having more. If you concentrate on what you don't have, you will never, ever have enough."

by Oprah Winfrey



Social bookmarking
You like it? Share it!
socialize it

Newsletter

Subscribe to our newsletter AND receive our exclusive Special Report on Web-Design
Email:
First Name:



Main Understanding HTML sponsors


 

Latest Understanding HTML Link Added

INSERT YOUR OWN BANNER HERE

Submit your link on Understanding HTML!



 

Welcome to Web Design Guide

 

Understanding HTML Article

Thumbnail example

13. Understanding HTML

from:

Once you’ve learnt it, HTML is a relatively simple language. However, while the HTML tags themselves are easy, creating an HTML document that works as intended on a web server requires you to know a few extra things that aren't often explained.

Understand Doctypes- Often valid HMTL documents don't actually start with the tag – they have one extra tag before it. This is the doctype, and it must be present right at the top of your document for it to be valid HTML. There are 2 doctypes you need to know about-



And the XHTML one-



The main function of doctype is to tell the web browsers exactly what version of HTML your page was written in, to help them to interpret it correctly.

HTTP Errors-HTTP is the way a web browser communicates with a web server, and this communication includes information about your pages, such as histories, cookies etc. You need not worry about the internals of HTTP, but it's worth knowing that it works by the browser sending a request to the server for a certain page, and the server then responding with a code.

Your website should be set up to handle error codes well. For example, a 404 (page not found) error should show a page with links to the most useful parts of your site. Other common error codes include:

200 - OK

301 - Page moved.

403 - Forbidden (no authorization to access).

500 - Internal server error.

MIME Types- MIME types are another part of the HTML header. They tell the web browser what kind of file they are about to send. Browsers don't rely on HTML files ending in .html, JPEG images ending in .jpeg, and so on: they rely on the content-type header. Mentioned below are some common MIME types:

text/html – HTML

text/plain - plain text.

text/css - CSS

image/png - PNG image

image/gif - GIF image.

image/jpeg - JPEG image.

How to Insert things that aren't HTML- One of the common problems faced by HTML users is how to insert things like Javascript and CSS into an HTML document. Luckily this is one of the easiest problems to solve: you simply use the link and script tags, like-





And you’re done.