DOCTYPE is a declaration that should appear as the first line in your webpage code. It defines the standard to which your webpage is coded, and provides information to the browser as to how the code should be interpreted. If you edited the code manually, or edited the webpage with several different applications, you need to understand doctype declarations and make sure your webpage's doctype matches it's coding standard.
Welcome to Bucaro TecHelp!

Welcome to Bucaro TecHelp!
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact Advertise on Bucaro TecHelp Advertise Here RSS News Feeds News Feeds

HTML5 Solutions: Essential Techniques for HTML5 Developers

Essential Techniques for HTML5 Developers

HTML5 brings the biggest changes to HTML in years. Web designers now have new techniques, from displaying video and audio natively in HTML, to creating realtime graphics on a web page without a plugin.

This book provides a collection of solutions to all of the most common HTML5 problems. Every solution contains sample code that is production-ready and can be applied to any project.

Click Here

Webpage DOCTYPE Declarations Explained

DOCTYPE is a declaration that should appear as the first line in your webpage code. It defines the standard to which your webpage is coded, and provides information to the browser as to how the code should be interpreted.

If you created your webpage with a WYSIWYG design tool, and that specific application was the only one you have ever used to edit the webpage, then you don't need to be concerned about the doctype declaration. The webpage design application will automatically provide the correct doctype declaration for its own coding standard.

But if you edited the code manually, or edited the webpage with several different applications, you need to understand doctype declarations and make sure your webpage's doctype matches it's coding standard.

There are two primary types of webpage documents, html and xml. If your webpage was initially designed several years ago, it was probably coded to the HTML 4.0 standard. If it was designed more than several years ago, it may contain code structures that have been deprecated - basically discontinued and possibly not accepted by future browsers.

- Browser developers have been very tolerant of out-of-date html code and even the latest browsers will correctly display pages coded to the html 3 and html 2 standard - as long as you inform them with the proper DOCTYPE declaration.

HTML DOCTYPE's

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

The HTML 4.01 transitional doctype supports all attributes of the HTML 4.0 standard and deprecated elements. Use it for webpages that may contain some deprecated html 3 elements. Webmasters like this doctype, and it's still widely used because it allows link targets.

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

The HTML 4.01 Strict doctype informs the browser that it doesn't need to support deprecated elements and attributes. Link targets are not allowed and CSS should be used to style all elements. Don't use this doctype with a <frameset>. With a <frameset> use the special doctype declaration shown below.

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

RSS Feed RSS Feed



Web Design Sections

HTML5 for Masterminds

HTML5 for Masterminds

How to take advantage of HTML5 to create amazing websites and revolutionary applications

This book is not an introduction of HTML5 but instead a complete course that will teach you how to build compelling websites and amazing web applications from scratch. Every chapter explores basic concepts as well as complicated issues of HTML5, CSS3 and Javascript.

Concepts are supported by fully functional codes to guide beginners and experts through every single tag, style or function included in the specification.

Click here for more information.


[Site User Agreement] [Advertise on This site] [Search This Site] [Contact Form]
Copyright©2001-2011 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268