HTML

Throughout this book we’ve skimmed over what counts as a valid HTML element. The Glass timeline-item HTML renderer works just like any other web browser and uses standard HTML5, with straightforward styles, but does not support the entire W3C spec.[34]

Valid HTML

Each of these elements will work as you would expect them to according to the spec.

  • Block elements

    • Basic text: p, h1-h6

    • Lists: ol, ul, li

    • Other: blockquote, center, div, hr

  • Inline elements

    • Phrase elements: em, strong

    • Presentation: big, small, strike, b, i, s, u

    • Span: span

    • Images: img

    • Other: br, sub, sup

  • Tables: table, tbody, td, tfoot, th, thead, tr

  • Semantic elements: article, aside, details, figure, figcaption, footer, header, nav, section, summary, time

  • Other: style

Although ...

Get Programming Google Glass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.