新闻发布
管理系统近2年前,HTML,用于构建和网络上呈现内容的标记语言发布5版。作为一个替代的HTML 4和XHTML 1和2级DOM HTML,HTML5的改进与多媒体等支持的语言<video>,<audio>和<canvas>,同时保持HTML的人阅读,通过计算机和设备一致的理解。对于现有的文件,除了改善和合理化的标记,HTML标记和复杂的Web应用程序提供的API。经常与Adobe的Flash,HTML5现在主要内容交付标准。在接下来的几个月中,HTML 5将升级到HTML 5.1。
这个HTML 5.1标准得到了提升,在一致,从一个“候选发布版”到“提出建议”的后一步才成为“推荐标准”取代HTML 5作为当前HTML标准。可以实现新的功能,为所有主要的浏览器厂商应该实现标准的为即将到来的版本。
而HTML 5是一个开创性的发布,HTML 5.1进一步提高一组添加HTML而贬低一些过时的或旧的资产。有一种很激动。特点增加HTML 5和HTML 5.1间可看到在这里
The crown gem is the <图片>元素
Implemented in Chrome, Opera, Firefox, Safari and Edge, the introduction of the <图片> tag is an acknowledgement of the importance of this element. Technically <图片> is a container used to specify multiple <来源> elements for a definite <IMG> contained therein. The browser will select the appropriate source according to the current layout of the page (ex. the box the image will appear in) and the device it will be displayed on (ex. a normal or retina display device.). A handy attribute to <图片>是srcset属性,选择要使用的图像在不同的场景。
<picture> <source srcset="designmodo-logo-wide.png" media="(min-width: 900px)"> <img src="designmodo-fallback.png" alt="DMD"></picture>
Obviously, HTML 5.1 will remove some elements. Unlike some news resources citing as <对话>作为HTML 5.1,根据在正式的W3C推荐,其实是删除元素。除去其他项目包括:
的registercontenthandler(),iscontenthandlerregistered()和isprotocolhandlerregistered()方法
对于输入元素的类型属性的DateTime值
的填充机制未实现的部分
标签元素不再是reassociatable
为菜单的工具栏元素类型
InputMode属性
And while <对话> was removed, some tags, proposed for removal, are still available in the new specification, however, are labelled as “at risk.” The elements will be removed in HTML 5.2 if browser makers won’t support them properly. So it’s a good idea to avoid, for the time being, to use interpretation of elements such as <菜单> and <菜单项>(专门开发右键菜单), or the <注册机>标签。如果你真正地喜欢他们开始上访
HTML 5.1将在下个月成为标准。在此期间,W3C已经工作在HTML 5.2。
一个很好的补充是<meta name=”theme-color”>定义如果你熟悉维瓦尔第,浏览器Opera的前首席执行官乔恩史蒂芬森von Tetzchner发达,你喜欢它适应界面工具栏的颜色根据你的网页的路上。该功能将允许开发者选择一个Web页面的主色,并在不同的UI场景的实现。
从长远来看,HTML会在可预见的,但有趣的进化方式。核心词汇和功能将在四个主要方向延伸:
为即将到来的规格如HTML 5.2
为适应不同规格的HTML5扩展或特征(见SVG)
从原始的HTML5规范和标准单独拆下模块(看见帆布,的画的脚本元)
有HTML5的扩展模块