HTML 5 event-source 标签是否违背了自定义标签才使用短横线的约定?
今天刚看到HTML 5 标签的存在:
http://www.w3school.com.cn/html5/html5_eventsource.asp
可能1:这个信息是错误的;
可能2:规范仅规定了自定义标签(组件技术)是有短横线的,却没说原生标签一定不能有短横线;
可能3:规范禁止这样,同时规范又规定了一个违背规范的标签。
如果是3,那么进一步的问题是:还有多少此类型的例外标签需要在设计类库时加以留意?
回复内容:
http://w3schools.com 的内容只能作为参考。何况你看的是版权不明且早已缺乏维护的 http://w3school.com.cn 。event-source元素是html5早期草案(2008年)里的,在2009年初就去掉了短横线变为了 eventsource 元素,并且在几个月后废弃标签,直接变为了 EventSource 接口(JS构造器)。这些信息你在w3c官方网站都是可以找到的。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an
