376   HTML

HTML文档的首行,会对文档类型进行声明,目前常用分类如下

HTML5

<!DOCTYPE html>

HTML 4.01

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”

XHTML 1.0

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”



Leave a Reply

Your email address will not be published. Required fields are marked *