Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
JavaScript を使わずに、HTML5 の新要素でマークアップする
<!DOCTYPE html>
<html lang="ja">
<meta charset="utf-8">
<title>IE8 以下でも HTML5 を!</title>
<meta name="description" content="JavaScript を使わずに、HTML5 の新要素でマークアップする">
<style type="text/css">
.header {border: pink solid 3px}
.article {border: red solid 3px}
.section {border: blue solid 1px}
.aside {border: yellow solid 3px}
.footer {border: magenta solid 3px}
.time {color: green}
<div class="header">
<div class="article">
<div class="section">
<div class="aside">
<div class="footer">
<p>time: <span class="time"><time pubdate datetime="2011-05-15">today</time></span>.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.