定義語を表す「dfn要素」|HTML5課題05
解答
プレビュー
↓スマートフォンの方はこちらからプレビューできます。
定義語を表す「dfn要素」
コード
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="#"> <script src="#"></script> <!--[if lte IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!--[if lte IE 9]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <![endif]--> <style> article, aside, dialog, figure, footer, header, hgroup, menu, nav, section { display: block; } </style> </head> <body> <h1>TPOを定義語として記述</h1> <p><dfn title="Time,Place,Occation">TPO</dfn>は、時と場所と場合にあった服装やふるまいをすることであると定義されています。</p> </body> </html>