XHTML basics (including some css)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:33
Original
961 people have browsed it

Some notes based on the video tutorial at http://www.ycku.com/xhtml/

The explanation of xhtml is quoted from Baidu Encyclopedia

Extensible ultra Text markup language is a markup language whose expression is similar to Hypertext Markup Language (HTML), but its syntax is more strict.

In terms of inheritance relationship, HTML is an application based on the standard universal markup language and is a very flexible markup language, while XHTML is based on the extensible markup language, which is a standard A subset of the universal markup language. XHTML 1.0 became a W3C recommendation on January 26, 2000.

The following example declares the use of html5 in the header , but it is closer to xhtml in syntax. If there is any error, please report it. Personally, I feel that I should learn XHTML first and then learn HTML5. Ideal

For most of the tag attributes, you can go to http://www.w3school.com.cn/tags/index.asp to query and understand. Generally, there are very few built-in attributes for controlling appearance. Use, so I won’t go into details here. However, some issues that you are more concerned about will only be discovered during the development of CSS. You can check the compatibility issues (pc css). However, for the slice layout, I will open a new one later to talk about my current opinions.

XHTML

"http://www. w3.org/TR/html4/loose.dtd">

XHTML1.0 style tag

1. All single tags must be closed:
,


,