Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Sunday, 15 July 2012

HTML Declaration


A valid HTML document declares what version of HTML is used in the document. The document type declaration names the document type definition (DTD) in use for the document 

There are many different documents on the web. A browser can only display a document correctly, if it knows what kind of document it is.

There are also many different versions of HTML, and a browser can only display an HTML page 100% correctly if it knows the exact HTML version used in the page. This is what <!DOCTYPE> is used for.

DOCTYPE Declaration is the abbreviation for Document Type Declaration (DTD).

<!DOCTYPE> is not an HTML tag. It is an information (a declaration) to the browser about what version the HTML is written in.


<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>

</html>


Common Declarations

HTML5

<!DOCTYPE html>

HTML 4.01

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

XHTML 1.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Thursday, 12 July 2012

WYSIWYG HTML Editors

WYSIWYG HTML Editor is the editor that support both HTML and plain text formats. A simple yet powerful visual HTML editor and the ability to import existing .html files enable you to compose messages easily.

When you use them you see the page almost as it will appear in a browser (WYSIWYG). These do the work of coding HTML for you.

WYSIWYG HTML editors provide an editing interface which resembles how the page will be displayed in a web browser. Some editors, such as ones in the form of browser extensions allow editing within a web browser. Because using a WYSIWYG editor does not require any HTML knowledge, they are easier for an average computer user to get started with.


The following are the best WYSIWYG web editors for Windows, in order from best to worst.

1. Adobe Dreamweaver
2. Adobe Creative Suite
3. Microsoft Expression Studio Web Pro
4. Microsoft Expression Studio Ultimate
5. NetObjects Fusion
6. CoffeeCup HTML Editor
7. SeaMonkey
8. Alleycode
9. Amaya
10. Evrsoft First Page