Zen-Coding

Page 1

Zen HTML Elements Based on HTML 5 specification draft. Root Element

html:xxs

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> </head> <body></body> </html>

html <html></html> html:xml <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"></html> html:4t <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> </head> <body></body> </html> html:4s <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> </head> <body></body> </html> html:xt <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> </head> <body></body> </html> html:xs <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> </head> http://code.google.com/p/zen-coding/

<body></body> </html>

html:5

head title base link

<!DOCTYPE HTML> <html lang="en-EN"> <head> <title></title> <meta charset="UTF-8"> </head> <body> </body> </html> Document Metadata <head></head> <title></title> <base href=""> <link>

link:css

<link rel="stylesheet" type="text/css" href="style.css" media="all"> link:print <link rel="stylesheet" type="text/css" href="print.css" media="print"> link:favicon <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> link:touch <link rel="apple-touch-icon" href="favicon.png"> link:rss <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml"> link:atom <link rel="alternate" type="application/atom+xml" title="Atom" href="atom.xml"> meta <meta> meta:utf <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 1

meta:win <meta http-equiv="Content-Type" content="text/html;charset=Win-1251"> meta:compat <meta http-equiv="X-UA-Compatible" content="IE=7"> style <style type="text/css"></style> Scripting script <script type="text/javascript"></script> script:src <script type="text/javascript" src=""></script> noscript <noscript></noscript> Sections body <body></body> section, sect <section></section> nav <nav></nav> article, art <article></article> aside <aside></aside> h1 <h1></h1> h2 <h2></h2> h3 <h3></h3> h4 <h4></h4> h5 <h5></h5> h6 <h6></h6> hgroup, hgr <hgroup></hgroup> header, hdr <header></header> footer, ftr <footer></footer> address, adr <address></address> div <div></div> Grouping Content p <p></p> hr <hr> br <br> GNU General Public License v3


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Zen-Coding by Michel Maillard - Issuu