首页 > 代码库 > Google glass Mirror app开发之HTML布局之标签篇

Google glass Mirror app开发之HTML布局之标签篇

$_[.=.]  原谅我不太会写标题..

谷歌眼镜开发 之 Mirror api开发之 HTML布局之 css样式 之xxx...

好了,进入正题,在https://developers.google.com/glass/tools-downloads/playground中可以实时地预览效果

CSS样式文件:https://mirror-api-playground.appspot.com/assets/css/base_style.css

Mirror API - Timeline:https://developers.google.com/glass/v1/reference/timeline

我们可以看到支持的html标签列表:

  1. 标题:h1-6
  2. 图片:img
  3. 列表:li, ol, ul
  4. HTML5标签:article, aside, details, figure, figcaption, footer, header, nav, section, summary, time
  5. 结构:blockquote, br, div, hr, p, span
  6. 样式:b, big, center, em, i, u, s, small, strike, strong, style, sub, sup
  7. 表格:table, tbody, td, tfoot, th, thead, tr

不支持(禁止)的标签列表:

  1. Document headers: head, title
  2. Embeds: audio, embed, object, source, video
  3. Frames: frame, frameset
  4. Scripting: applet, script