View Single Post
Old 11-29-2013, 03:21 AM   #2
aashton
Registered User
 
Join Date: Oct 2013
Posts: 15
Html 5 has many features over HTML4 and its older version. In HTML 5 we can easily define the the detailed parsing rules (including "error handling") for this syntax which are largely compatible with popular implementations. All user agents should use these rules for resources that have the text/html media type.
For example take a look on the syntax.
Syntax for HTML
Quote:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Example document</title>

Syntax for HTML5
where document that conforms to the XML syntax of HTML5

Quote:
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Example document</title>
_____________
HTML5 eMag
aashton is offline   Reply With Quote