国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal资讯] Drupal 8 将拥有 HTML 5的DOCTYPE

[复制链接]
发表于 1-29-2012 15:05 | 显示全部楼层 |阅读模式
Drupal 8已将html.tpl.php页面模板转换成HTML 5的DOCTYPE。

这意味着:

1. Drupal 8有了真正的HTML 5 DOCTYPE

2. RDF不再硬编码于模板中,并且RDF变量也不会在模板中可用了。

3. 将有两个独立的变量处理和元素。这样就可以方便的为元素增加属性了,(比如HTML 5的Offline Web applications和Application Cache等manifest属性)

对于D5和D6的用户,可以使用HTML5 Tools这个模块。http://drupal.org/project/html5_tools它也会在不久后更新


摘自:方医生 798



----------------------------------------------------------------------------------------------------------------------------------------------






HTML5 Tools

drupalhtml5logo.png

HTML5 Tools is a module that allows Drupal sites to be built using HTML5 ... smartly.

One of our goals is to provide as much support for HTML5 markup in a set of Tools provided by a module so that you can use this module with any HTML5 theme you'd like.

Drupal 7 Features

The Drupal 7 branch of html5 tools is actively being developed. We're always looking for new features so feel free to create an issue.

Here are some of the features you can find in the Drupal 7 version:

  • Support for the html5shiv plugin
  • Support for the innershiv plugin
  • Support for Google Chrome Frame
  • Adds new elements for used in the Views module
  • Support for the html5 doctype with or without RDF.
  • Tons of other forms and markup changes.

Dependencies

The Drupal 6/7 version of html5 tools requires the Elements module. This allows us to take advantage of new form elements in our module.

Themes

You can join us at http://groups.drupal.org/html5 or in IRC #drupal-html5

Project Information





|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 3-21-2025 17:28 , Processed in 0.423476 second(s), 359 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表