Following the release of the team's CSS3.0 Chinese manual in China, the popularity of HTML5.0 and CSS3.0 has been blowing everywhere recently; it seems that in this era of browsers teasing each other, it has created a lot of topics for the industry.
Years ago, Google's chrome team came to the company for related exchanges, and the company asked me to make a preliminary discussion plan. So I thought about it and came up with three points:
The first two points are more targeted for chrome itself, and the third point; I think it is more targeted at browser programmers in our new era, as well as our foreign friends who formulate W3C standards.
Looking back, the war between XHTML2.0 and HTML5.0 spanned nearly 4 years (2002/8/5--2006/7/26), and the result of the battle is that XHTML2.0 retreated in defeat.
The first thing worth mentioning about this war on XHTML2.0 is the reflection he left for us in his thoughts: (If you have read " The Web's future: XHTML 2.0 " by master Nicholas Chase, you can click to skip the foreplay. )
1. Replace purely expressive tags such as b and i with semantic ones. (Separation of structure, behavior and performance)
<i>emphasis</i>, <b>more emphasis</b>.
and
<em>emphasis</em>, <strong>more emphasis</strong>.
2. Replace content images such as img with the src attribute, and use srctype for type definition. (Enables text descriptions to be displayed when external resources fail to load, lifting the restrictions of alt)
<object>Use object to introduce Apple’s introduction audio</object>
<img src="apple.png" alt="This is a picture of an apple" />
<p>This is a description of the fruit apple. </p>
and
<p src="apple.mp3" srctype="audio/x-mpeg">
<span src="apple.png" srctype="image/png">This is a picture of an apple</span>
This is a description of the fruit apple.
</p>