心力憔悴是什么意思| 梦见手指流血是什么预兆| flag是什么意思| 属蛇的人适合佩戴什么| 火把节在每年农历的什么时间举行| 绿意盎然是什么意思| 八月份什么星座| 肝的作用和功能是什么| 有机奶粉是什么意思| 胃疼是什么病| 胃酸过多吃点什么食物比较好| 什么是环切手术| 尿很臭是什么原因| 什么是想象力| 贡菜是什么| 白蛋白偏高是什么意思| 心脏病人吃什么水果好| 肝郁气滞吃什么中成药| 昂热为什么认识路鸣泽| 梦见大火烧房子是什么意思| 腼腆是什么意思| 女人颧骨高有什么说法| 女人肾虚吃什么好得快| 胎儿fl是什么意思| 拉肚子吃什么食物| 天秤座和什么星座最不配| 膝盖不好的人适合什么运动| 舅舅和外甥女是什么关系| 天经地义的意思是什么| 12月24号是什么星座| maxco是什么牌子| 铲子是什么意思| 未分类结晶偏高是什么意思| cp1是什么意思| 桂味是什么| 什么是比特币| 医保和农村合作医疗有什么区别| 为什么脚底板会痛| qa和qc有什么区别| 手心经常出汗是什么原因| 腰椎挂什么科室| 什么什么大叫| 螃蟹不能和什么食物一起吃| 男孩学什么技术最好| 三点水卖读什么| 急性肠炎吃什么食物好| 什么矿泉水最好| 三位一体是什么意思| 女人腰酸背痛是什么病| 榆钱是什么| 2020年是什么年| 石头五行属什么| 医的笔顺是什么| 心代表什么数字| 存款准备金率是什么意思| 品牌背书是什么意思| cu是什么| 拉伤筋用什么药好| 乙肝病毒表面抗体高是什么意思| 锖色是什么颜色| 动脉ct主要检查什么| 二氧化碳结合力是什么| 胖子从12楼掉下来会变什么| 918是什么日子| 什么的表演| 胸ct和肺ct有什么区别| 九八年属什么生肖| 毛泽东是什么样的人| 完蛋是什么意思| 切诺为什么要饭前半小时吃| 到付是什么意思| 早上8点是什么时辰| 正常龟头什么样子| 阴唇黑是什么原因| 传说中的狮身人面像叫什么名字| 公开课是什么意思| 为什么会得神经性皮炎| 喉咙看什么科| 宅基地是什么意思| 山茱萸有什么功效| 老年人心慌是什么原因| 周岁什么意思| 驹是什么意思| 01是什么意思| 九夫痣是什么意思| 婴儿湿疹用什么药膏最有效| 吃什么补血快效果好| 毛周角化症是什么原因引起的| 一个三点水一个令念什么| 眼睛疼吃什么药| 4.28是什么星座| 依托考昔片是什么药| 2016年是什么生肖| 漏斗胸为什么长不胖| 痛风为什么要禁欲| 怀孕了为什么还会出血| 子宫内膜厚有什么影响| 间接胆红素高是什么意思| 无名指麻木是什么原因| 肝不好的人有什么症状| abr是什么检查| 女生下边长痘痘是什么病| 微波炉加热用什么容器| 移植后需要注意什么| 水漂是什么意思| 什么网站可以看黄片| 冷冻和冷藏有什么区别| 红茶属于什么茶| 天天晚上睡觉做梦是什么原因| 证过二是什么意思| tj什么意思| 淋菌性尿道炎吃什么药| 梦见煮饭是什么意思| 五行中什么生水| 上眼皮肿是什么原因| 武警和特警有什么区别| 玫瑰糠疹吃什么药最有效| 燕子喜欢吃什么| 四个火是什么字| 大连机场叫什么| 可乐是什么做的| 那天午后我站在你家门口什么歌| 藕粉是什么颜色| 掉马是什么意思| 真菌感染脚气用什么药| 健忘症是什么意思| 日本是什么时候侵略中国的| 儿童包皮过长挂什么科| 经常想吐恶心是什么原因| 躺平什么意思| 心率过慢有什么危害| 合胞病毒是什么病毒| 私生子是什么意思| 黑色屎是什么原因| 男士圆脸适合什么发型| 李世民是什么生肖| 经常喝蜂蜜水有什么好处和坏处| 眼底出血是什么原因| 牙齿出血是什么病表现出来的症状| 什么鱼最迟钝| 牛皮癣用什么药膏最好| 低密度灶是什么意思| 一月十八是什么星座| 晚上睡觉腿酸难受是什么原因| 茯苓和土茯苓有什么区别| 睡觉腰疼是什么原因| 乌鸡放什么炖补气补血| 尊字五行属什么| 偶数和奇数是什么意思| 生活惬意是什么意思| 水滴鱼长什么样子| rads是什么意思| 博文是什么意思| 想当演员考什么学校| 拔腋毛有什么危害| 一什么陆地| 4ever是什么意思| 楚楚欲动是什么意思| 红玛瑙五行属什么| 高钾血症是什么原因引起的| 810是什么意思| 5月21日是什么星座| 前囟门什么时候闭合| 一什么场面| 北京属于什么方向| 36计的第一计是什么| 玉兰油适合什么年龄| 象是什么结构| 男人结扎有什么好处| 脑白质是什么病| bp是什么意思| aug什么意思| 澳门用什么币种| gi什么意思| 海鸥手表是什么档次| 十月初一是什么节| 牙疼用什么药| gbm是什么意思| 等闲识得东风面下一句是什么| 23是什么意思| 炭疽病用什么农药最好| 大学体检都检查什么| 阴虚阳亢吃什么中成药| 柠檬和什么不能一起吃| 吃什么能长高| 鼻窦在什么位置图片| 合肥什么时候出梅| 廿年是什么意思| 下午两点多是什么时辰| 免单是什么意思| 肾阳虚是什么原因引起的| 胃肠道功能紊乱吃什么药| 摩丝是什么| 心心相什么| 舌头锯齿状是什么原因| 天麻加什么治头晕| 妇科炎症吃什么食物好| 枸杞树长什么样| 单核细胞百分比偏高说明什么| 1960年属鼠的是什么命| c肽高说明什么| cno什么意思| 乳腺钙化是什么意思啊| 嗯是什么意思| 甲亢是什么原因造成的| 尿黄尿臭是什么原因| 张少华什么时候去世的| 凤眼果什么时候成熟| 姜子牙姓什么| 孕期头晕是什么原因| 四妙丸有什么功效与作用| 什么叫浪漫| hpv检查什么| 胆管结石用什么药能把它除掉| 类风湿不能吃什么食物| tomorrow什么意思| 肺部结节挂什么科| 什么样的小船| 一心一意指什么生肖| 撕漫男是什么意思| 黄桃不能和什么一起吃| 4月6号什么星座| 免疫组化检查是什么意思| 5.13是什么星座| 减肥期间吃什么主食| 宝宝吃益生菌有什么好处和坏处| 割包皮属于什么科| 红斑狼疮的症状是什么| 减肥能吃什么水果| 什么是黄疸| 追剧是什么意思| 珐琅手镯是什么材质| hh是什么牌子| 做了胃镜多久可以吃东西吃些什么| 黔驴技穷的意思是什么| 茶宠为什么会变色| 晚上老咳嗽是什么原因| 省委委员是什么级别| 只羡鸳鸯不羡仙是什么意思| 胎心停了会有什么症状| 肾结石有什么表现症状| 肝功十二项包括什么| 知否知否应是绿肥红瘦什么意思| 什么争什么斗| 流产期间吃什么好| 教育基金是什么意思| 锅巴吃多了有什么危害| 今年什么生肖年| 老好人是什么意思| 糖化血糖是什么意思| 无休止是什么意思| 517是什么星座| 张国荣什么时候去世的| 来月经头晕是什么原因| bid医学上是什么意思| 无忧是什么意思| 吃什么可以治拉肚子| 对冲是什么意思| ddi是什么意思| 艾叶煮水喝有什么功效| 一甲子是什么意思| 长瘊子是什么原因| 什么是情商高| 反射弧长是什么意思| 百度
Advertisement
  1. Web Design
  2. HTML/CSS
  3. HTML

总理部署《中国制造2025》 20多部委通力落实

This is that article you generally skip over. It’s the one where I don’t detail an ounce of code, but instead describe the important events that lead to what you now recognize as HTML5. Some of us find this stuff interesting, but, certainly, a history lesson may not be your idea of a good time. …Wait – you’re still here? Let’s get on with it then.
Scroll to top

This is that article you generally skip over. It’s the one where I don’t detail an ounce of code, but instead describe the important events that lead to what you now recognize as HTML5. Some of us find this stuff interesting, but, certainly, a history lesson may not be your idea of a good time.

…Wait – you’re still here? Let’s get on with it then.

We won’t travel as far back as the beginning. That’s an entire book on its own. Instead, we’ll rewind the clock to to the release of HTML 4.01, at the tail-end of the nineties.


What’s the Difference Between the W3C, WHAT WG, and HTML WG?

  • W3C – A community with the sole purpose of working to develop web standards.
  • WHATWG – Formed after various members of the W3C became agitated by the direction being taken with XHTML 2.0. They preferred a different, less drastic approach, where the existing HTML was extended.
  • HTML WG – Once the W3C finally recognized that XHTML 2.0 was not the future, they indicated that they wished to work with the WHAT WG on development of what would eventually become HTML5. They chartered the HTML WG for this purpose.

If that still sounds confusing, don’t worry; continue reading for the full story.


HTML vs XHTML

Right around the period that HTML advanced to version 4.01 (around 1998), the ground began to shift a bit. Developers started to talk about this next new thing the W3C was working on: XHTML, which stood for “Extensible Hypertext Markup Language.” This first 1.0 specification was more or less identical to HTML 4.01, other than the inclusion of a new MIME type, application/xhtml+xml.

Believe it or not, we’ve always been able to get away with omitting quotations around attribute values (mostly), and not self-closing tags. However, up until recently, it was widely considered to be a bad practice. For the youngsters among you readers, the reason why we viewed it as a bad practice is largely due to the popularity of XHTML.

Think of XHTML as your grandmother. When she comes to visit, she forces you to brush your teeth, stand up straight, and eat your peas. Now replace teeth, posture, and peas, with quotation marks, self-closing tags, and lowercase tag names.

Though I kid, mostly, we viewed XHTML 1.0 as a good thing – the next step. It required designers and developers to follow a set of standards when creating markup. How could that be bad? The irony is that, though we followed these new rules, the majority of us continued serving pages with the text/html MIME type, which meant that the browser didn’t really care how we created our markup. This way, XHTML could be opt-in.

So we were writing markup in a certain, strict fashion to pass XHTML validation that had zero effect or influence on the browser’s rendering. A bit odd, huh?

XHTML 1.1

This all changed with the introduction of XHTML 1.1 – a significant shift toward pure XML. With this release, the application/xhtml+xml MIME type was required. Sure, this may sound like the natural next step, in theory, but there were a couple glaring issues.

1. “Save to Disk”

First, Internet Explorer could not render documents with this MIME type. Instead, it would prompt a save to disk dialog. Yikes!

“I’ve also been reading comments for some time in the IEBlog asking for support for the “application/xml+xhtml” MIME type in IE. I should say that IE7 will not add support for this MIME type – we will, of course, continue to read XHTML when served as “text/html”, presuming it follows the HTML compatibility recommendations.” – Chris Wilson

2. Take No Prisoners

XHTML 1.1 was sort of like Professor Umbridge, from Harry Potter.

Secondly, XHTML 1.1 was sort of like Professor Umbridge, from Harry Potter: extremely harsh. Have you ever noticed how, if you leave off a closing </li> tag, the browser doesn’t flinch? Browsers are smart, and compensate for your broken markup (more on this shortly). While, these days, the community is beginning to embrace and take advantage of this truth, with XHTML, the W3C wanted to enforce XHTML’s stricter syntax. Though, up to this point, developers could get away with leaving off, say, the closing <head> or <body> tag, the W3C implemented a new fail on the first error system, known as draconian error handling. If an error was detected, the browser was expected to cease rendering the page, and display an error message, accordingly. Like I said: incredibly harsh for markup.

As a result, few of us ever used XHTML 1.1; it was too risky. Instead, we adopted general XML best practices, and continued to serve our pages as text/html.

XHTML 2

In their minds, the W3C was finished with HTML 4. They even shut down and rechartered the HTML Working Group, and transferred their focus to XHTML – or, at this point, XHTML 2.0.

XHTML2 was an effort to draw a line, fix the web, and right the wrongs of HTML. Though, again, this sounds fabulous, in truth, it angered much of the community, due to the fact that it was never intended to be backward compatible with HTML 4. In fact, it was entirely different from XHTML 1.1 as well!

Get where I’m going here? The W3C was essentially ignoring the current web, and the demands of its developers, in favor of a strict, potentially page-breaking XML approach. It simply wasn’t practical to expect such a huge transition.

XHTML2 was never finalized.


Fight, Fight, Fight!

(Okay, not as Fight Club as that.) Right around this time, the idea that, “Hey – maybe we should return to HTML and work off that” began to come up again. Work had begun on Web Forms 2.0, which managed to spark renewed interest in HTML, rather than scrapping it entirely for XHTML2. This notion was put to the test in 2004, during a W3C workshop, where the advocates for HTML presented their case, and the work they had already done with Web Forms 2.0.

Unfortunately, the proposal was rejected on the grounds that it didn’t fall in line with the original goal of working toward XHTML2. Needless to say, this rejection angered some in the group, including representatives from Mozilla and Opera.

The group consequently branched out, and formed the WHAT Working Group (or, “Web Hypertext Application Technology Working Group.”), after, for lack of better words, becoming pissed off at the way XHTML 2 seemed to be heading. Their goal was to keep from throwing the baby out with the bath water. Continue and extend development of HTML, via three specifications: Web Forms 2.0, Web Apps 1.0, and Web Controls 1.0.

The Two Golden Rules

This new group would embrace two core principles:

  1. Backward compatibility is paramount. Don’t ignore the existing web.
  2. Specifications and implementations must match one another. This means that the spec should be incredibly detailed (hence, the 900 pages).

"The Web Hypertext Applications Technology working group therefore intends to address the need for one coherent development environment for Web Applications. To this end, the working group will create technical specifications that are intended for implementation in mass-market Web browsers, in particular Safari, Mozilla, and Opera." - WHATWG.org

Parser

Don’t underestimate how significant an achievement this was.

While XHTML 2.0 intended to enforce perfect XML, the WHAT Working Group instead took it upon themselves to document exactly how HTML is, and should be parsed. – a five year task!

Remember when we discussed how browsers do a great job of compensating for your broken markup? The interesting thing is that, before the creation of the WHAT Working Group, there wasn’t any specification that provided instructions to the browser vendors for how to deal with errors. This naturally leads up to the question: how did the browsers match one another’s error handling? The answer is through tireless (though essential) reverse engineering. Firefox, Safari, and Opera copied Internet Explorer’s implementation, and Internet Explorer reverse engineered Netscape handling.

Over the course of five years, the WHAT WG charted out what’s now referred to as the HTML5 parser. Don’t underestimate how significant an achievement this was. Today, all modern browsers parse HTML according to the guidelines of this specification. Though perhaps not as sexy as, say, canvas, the HTML5 parser is a massive achievement.


A Line in the Sand

As you might expect, an imaginary line was drawn in the sand. You’re either for XHTML2, or (what would eventually become) HTML5.

Rather than a consensus-based approach, where members debated and voted on what they felt was best, the WHAT WG took a bit more of a dictator-like stance, with Ian Hickson at the helm.

Wait – Dictator!?

Don’t we usually try to over throw these power mongers?

Don’t we usually try to over throw these power mongers? What’s the deal? I must admit, on paper, it sounds awful, doesn’t it? Does one guy determines the future of the web? We prefer this system? Politically speaking, yes, a dictatorship may be a bad idea. But, when you think about it in terms of the web, imagine how much more quickly things can get done. When a community is as passionate as ours, things tend to move very slowly, as debates continue on and on…and on.

"The Web is, and should be, driven by technical merit, not consensus. The W3C pretends otherwise, and wastes a lot of time for it. The WHATWG does not." - Ian Hickson

While discussion certainly (and rightfully) takes place at the WHAT WG, ultimately, Ian Hickson has his finger on the button (unless the group and community strongly disagrees with a particular decision. At this point, he can either be impeached (not as Bill Clinton as that), or, more often than not, he’ll re-evaluate and reverse his decision).

That said, it’s certainly not ideal. The W3C has its slow and steady consensus-based approach, which many still prefer. On the other hand, while the WHAT WG moves at a quicker pace, there certainly are hiccups. Then, when you combine the two groups, things can sometimes get a bit muddy!

The time Debacle

In October, 2011, Ian Hickson removed the <time> tag, and replaced it with a more general-purpose solution: <data>. In his own words:

There are several use cases for <time>:

  1. Easier styling of dates and times from CSS.
  2. A way to mark up the publication date/time for an article (e.g. for
    conversion to Atom).
  3. A way to mark up machine-readable times and dates for use in Microformats or
    microdata.

Use cases A and B do not seem to have much traction. Use case C applies to more than just dates, and the lack of solution for stuff outside dates and times is being problematic to many communities.

Proposal: we dump use cases A and B, and pivot <time> on use case C, changing it to and making it like the <abbr> for machine-readable data, primarily for use by Microformats and HTML’s microdata feature. – Ian Hickson

Remember: you have much more control over the shape of the web than you likely give yourself credit for!

What he possibly didn’t realize was that much of the community did, in fact, use the <time> tag. Further, they (myself included) felt that, though more flexible, the proposed <data> tag was too ambiguous; <data> has as much meaning as a <span>, when it comes to semantics.

After a significant level of uproar from the community, the HTML WG announced that the <time> change must be reverted. They gave Ian a short deadline to make the reversal. Though not without additional layers of drama, the following month, <time> was reinstated.

This chain of events simply proves that, even though Ian has the right to propose these sorts of changes, the web community, as a whole – and, of course, the browser vendors – have quite a bit of control over the specification. There’s a difference between the spec creators, and the authors who integrate these new elements and APIs into their projects. If the authors don’t use them, they might as well be removed from the spec. Remember: you have much more control over the shape of the web than you likely give yourself credit for!

Sign up for the various mailing lists and be loud! Otherwise, folks like Ian won’t know if or how you use these new features.

“Is there any data showing how people actually use <time> in practice? i.e. is it actually giving anyone any of its hypothetical benefits?” – Comment by Ian Hickson

The Shape of a Specification

While some may think that a small group of people determine the future of the web, that’s far from the case. Three factions receive equal weight, when it comes to specifications.

  1. Spec Creators – Obviously…
  2. Authors – People like us; if we reject (i.e. don’t use) a particular element or API, it might as well be dead in the water.
  3. Vendors – Browsers have a huge amount of input into these specifications, many times leading the way.

If you’d like to learn more about the <time> debacle, review the bug thread, and Ian's Google+ post. They're interesting reads, and aren’t nearly as black or white as you might think.


Back at the W3C…

Back to the W3C vs. WHAT WG feud. Well, it was less a feud, and more like two groups ignoring one another for a couple years.

As time progressed, it became clearer and clearer that XHTML 2.0 was not the solution.

While work at the WHAT WG progressed relatively quickly, work on XHTML 2.0 at the W3C was – how should I put this… – not going well (almost non-existent). As time progressed, it became clearer and clearer that XHTML 2.0 was not the solution (though it wouldn’t be fully dropped until 2009). In 2006, the W3C relented, and signaled that they were interested in collaborating with the WHAT WG on (what would be) HTML5. They chartered yet another group for this purpose: HTML WG, or the Hypertext Markup Language Working Group.

They intended to use the work of the WHAT WG as a basis for continued development of HTML. Weird, huh? Now we have two different groups: the W3C HTML WG and the WHAT WG. Technically, the W3C hadn’t yet given up on XHTML. Nonetheless, as part of the newly formed HTML WG, they renamed Web Apps 1.0 to HTML5.

“Apple, Mozilla, and Opera allowed the W3C to publish the specification under the W3C copyright, while keeping a version with the less restrictive license on the WHAT WG site.” – WHATWG.org

Today

These days, the WHAT WG and W3C collaborate with one another on HTML5. It’s a bit of an odd relationship, but somehow manages to function, thanks to an endless supply of incredibly passionate activists.

This article is an excerpt from my upcoming book on HTML5 and its friends. Stay tuned to Nettuts+ for more information on the release date!

Advertisement
Advertisement
银为什么会变黑 内热吃什么药清热解毒 为什么心里总想一个人 胎盘成熟度0级什么意思 微信是什么时候开始有的
白芷泡水喝有什么功效 男人经常熬夜喝什么汤 洋葱吃多了有什么坏处 叫人挪车打什么电话 什么星座最好
梦见下雪了是什么意思 晚上吃什么减肥 麝香是什么动物 拉大便肛门口疼痛什么原因 宽带m是什么意思
栩是什么意思 凌晨四点是什么时辰 什么玉最好有灵性养人 问候是什么意思 甲胎蛋白增高说明什么
两个口是什么字hcv8jop0ns3r.cn 高锰酸钾治疗男性什么病hcv8jop3ns5r.cn 蚊子最怕什么植物hcv8jop9ns9r.cn 脚气用什么药膏效果好hcv9jop5ns9r.cn 孩子喝什么牛奶有助于长高hcv8jop5ns3r.cn
吐白痰是什么原因hcv7jop4ns7r.cn 什么颜色的床单有助于睡眠hcv8jop0ns1r.cn 毁谤是什么意思hcv8jop3ns5r.cn 怀孕初期分泌物是什么样的hcv9jop8ns2r.cn 鸦片鱼又叫什么鱼hcv8jop6ns9r.cn
天罗地网是什么意思hcv8jop7ns5r.cn 什么叫血管瘤hcv8jop3ns0r.cn 贴黄瓜片对皮肤有什么好处hcv7jop6ns9r.cn 吃什么消肿hcv9jop7ns1r.cn 什么药膏能让疣体脱落hcv8jop6ns4r.cn
俄罗斯是什么国家hcv7jop6ns3r.cn 什么身是胆hcv8jop2ns2r.cn 血栓吃什么药可以疏通血管hcv8jop9ns1r.cn 糖尿病吃什么食物luyiluode.com 降血糖吃什么菜xjhesheng.com
百度