2013-10-25から1日間の記事一覧

HTML5における終了タグの省略について

HTML 4.01では、下のページで O がつけられているタグは省略することができる。 http://www.w3.org/TR/1999/REC-html401-19991224/index/elements.html 具体的には、 <table> <tbody> <tr> <th>header1</th> <th>header2</th> </tr> <tr> <td>content1</td> <td>content2</td> </tr> </tbody> </table> は次のように省略して書くことが許される。 <table> <tr> <th></th></tr></table>…