HTML5 > Structures

Page in HTML5

How to start writing HTML 5 page?


The HTML5 document looks very neat and clean as there is no need of any namespaces in the <html> and <doctype> element.

Start the HTML5 page with DOCTYPE tag 

<!DOCTYPE html />

Please note that there should not be any space before <!DOCTYPE> to avoid any rendering error. It means that the above line of code should be the first line in the HTML5 document.

 Views: 5027 | Post Order: 51



Write for us






Hosting Recommendations