* You are viewing the archive for the ‘Html’ Category

HTML5 & CSS3 – Video Part 1

Following video explains Html5 and CSS3 to build website:


HTML DOCTYPE Declaration

The <!DOCTYPE> declaration should be the very first line in your HTML document, before the <html> tag.

The <!DOCTYPE> is not an HTML tag; It is an instruction to the web browser about what version of HTML the page is serving in.

HTML5 is not based on SGML, and therefore does not require a reference to a DTD.
In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language, so that the browsers render the content correctly.

Common DOCTYPE Declarations:

<!DOCTYPE html>
HTML 4.01 Strict
This DTD contains all HTML elements … Continue Reading