html doctype error

by Prakash 2013-09-19 11:58:26

When you view source HTML of some websites firefox shows the following error

Almost standard mode doctype. Expected DOCTYPE HTML

To avoid that replace


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


with the following


<!DOCTYPE html>


before your HTML tag.

Tagged in:

1060
like
0
dislike
0
mail
flag

You must LOGIN to add comments