Notes on XHTML translation when I started XHTML 1.1, I never knew what to write on Xml:lang, I want to use Chinese, is it the value of EN, zh-cn/zh-cn or gb2312/gbk/gb18030 or UTF8? I usually have problems with the first Google Chinese, but also can not find the answer. I almost believed it when I saw some authoritative websites using gb2312, but based on my experience with using Linux to set up my language
XHTML-this is considered the successor of HTML 4 and a combination of HTML and XML. By combining XML and HTML functions, XHTML makes Web content more accessible to phones, handheld devices, televisions, and other devices. W3C classifies
XHTML and CSS Overview1. HTML Transition to XHTMLHTML and XHTML are not two languages, they are different stages of a language, somewhat similar to the relationship between classical Chinese and vernacular Chinese.Because of the rapid development of network technology, the continuous improvement of
developed from the Html=>xhtml=>xml.
2. The difference between the three:
XHTML compared to HTML:
1) XHTML has good typography and specifications, requires: A. Elements must have an end tag; b. Elements must be nested correctly;2)
css|xhtml| Skills | Web page
1. Mouse move Up is a window to save the collection of the small box, can not limit its appearance?
Add in Head
2. Galleryimg with new attributes on picture
3.div implement scroll bar (in some cases can replace IFRAME)
High height and overflow must be set!
PS: in IE sometimes the horizontal scroll bar will come out, but in fact, th
xhtml| Web page
When I started XHTML 1.1, I didn't know what to write on Xml:lang, I want to use Chinese, is it the value of EN, zh-cn/zh-cn or gb2312/gbk/gb18030 or UTF8? I usually have problems with the first Google Chinese, but also can not find the answer. I almost believed it when I saw some authoritative websites using gb2312, but based on my experience with using Linux to set up my language, I intuit
css|xhtml| Standard | beginners | Web page
Cascading style sheet Level 2 the recommended standard [CSS2] defines the properties of style, which is used to parse the tree structure of HTML and XML documents. An analysis of the impassability will result in different visual or auditory effects, depending on the selector used. The following techniques can reduce this
The XHTML + CSS compatibility solution has many advantages when using the XHTML + CSS architecture, but there are also some problems, whether it is because you are not skilled or have unclear ideas, I will first write down some of the problems I encountered below and search for them in the province.
1. The box mode
Markup Language abbreviation; XML (extensive Markup Language) Extensible Markup Language. XML is designed to transfer and store data, rather than display data, is a complement to HTML, the document and data can be structured so as to be able to exchange between departments, customers and suppliers to achieve dynamic content generation;XML is powerful in transforming data, just facing tens of millions of existing sites, the direct adoption of XML is n
and the non-tabular implementation of the menu need to be guided by practice, not to write anything here first. Write a note about the code checksum below.
XHTML checksum common error reason tables:
No DOCTYPE found! Falling back to HTML 4.01 transitional--undefined doctype.
No Character Encoding found! Falling back to utf-8.--does not have a defined language encoding.
End tag for "IMG" omitted, but Omi
attribute in XHTML is deprecated and will be removed in later versions
XML compared to HTML:
1) XML specification is rigorous, such as: Strictly case-sensitive2) XML tags must be closed, including empty tags3) XML must have only one root tag4) XML tags can be customized
According to this evolutionary process, HTML can be gradually replaced
also directly change html to the end of xhtml and then open it in the firefox browser;
HTML and HTML5
HTML5ComparedHTML4More loose, no longer based on SGML, a lot moreSemantic HTMLTags, as well as audio, video, and document declarations, are simpler. A new string-encoded meta is added,DeleteSome html tags (font, fra
.org/check; 2: You can also change HTML directly to the end of XHTML, and then open with the Firefox browser;HTML and HTML5 HTML5 's syntax is more lenient than HTML4 , no longer based on SGML, adds a lot of semantic HTML tags, and audio,video, the document declaration becomes more simple, Added the string encoding
css|xhtml| Web page CSS layout commonly used methods: Float:none|left|right
Take value:
None: default value. object does not float
Left: text flows to the right of the object
Right: text flows to the left of the object
How does it work, look at a row and two columns of examples
Xhtml:
here is the first column
h
backgrounds or embellishment pictures, But the principle is as little as possible, can use the background of the original label to do with the background, here also test the producer's CSS skill.4. Compatibility
We also have to do a test in a variety of browsers to see if they are normal in every browser, and then move the code as close to the XHTML standard as possible. Our Faridearss has passed the
Browsers will parse and render the labels in the webpage according to their predefined styles. firefox can get the default style table of firefox by entering the resource: grereshtml.css command in the address bar. Although w3c has developed some html standards: browsers will parse and render tags in the webpage according to their predefined styles, firefox can input resource in the address bar: // gre/res/html.css command to obtain the default firefo
XHTML+CSS Web site refactoring Web standards and so on the article too much, I will not repeat, send the simplest way to make Xhtml+css page, although the method is very simple, but really not necessarily a few people know .... At least Google search was not found.
Let's go:
1, open the Photoshop CS2, open the design
The goal of the XHTML standard is to replace HTML. According to the consortium, "XHTML is the successor to HTML " (http://www.w3.org/MarkUp/).
XHTML has two main goals:
Creates a more distinct separation between the document structure and the representation.
An a
The goal of the XHTML standard is to replace
HTML。 According to the consortium, "XHTML is
HTMLSuccessor "(http://www.w3.org/MarkUp/).
XHTML has two main goals:
Create a more visible separation between the document structure and the representation.
An application that re-represents
DIV+CSS advanced layout has gradually become popular, but in the face of the so-called div+css layout of the people more worried, do not let div become a substitute for table, multi-layer nested div will seriously affect the readability of the code, using HTML to provide us with the tag bar.When should you use div?Although there are no hard rules in this regard,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.