Xhtml, elementen

diversen

 

element   naam soort tags voorbeeld opmerking
a anchor inline   <a> ... </a> <a href="..."> ... </a>
<a href="..."> <img src="..." alt="..." width= "..." height= "..." /> </a>
<a href="mailto:...?subject=..."> ... </a>
<a id="..."> ... </a>   met
    <a href="#..."> ... </a>   of   <a href="...#..."> ... </a>
body body - <body> ... </body>
br line break block <br />
dd definition description   block <dd> ... </dd>
div division block <div> ... </div>
dl definition list block <dl> ... </dl>
dt definition term block <dt> ... </dt>
em emphasis inline <em> ... </em>
h1 heading 1 block <h1> ... </h1>
h2 heading 2 block <h2> ... </h2>
h3 heading 3 block <h3> ... </h3>
h4 heading 4 block <h4> ... </h4>
h5 heading 5 block <h5> ... </h5>
h6 heading 6 block <h6> ... </h6>
head head - <head> ... </head>
html html - <html> ... </html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl"> ... </html>
img image inline <img ... /> <img src="..." alt="..." width= "..." height= "..." />
li list item block <li> ... </li>
link link - <link ... /> <link rel="stylesheet" href="bestand.css type="text/css" />
meta meta - <meta ... /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="..." />
<meta name="keywords" content="..., ..., ..." />
<meta name="robots" content="(no)index, (no)follow" />
ol ordered list block <ol> ... </ol>
p paragraph block <p> ... </p>
span span inline <span> ... </span>
strong strong emphasis inline <strong> ... </strong>  
style style - <style> ... </style> <style type="text/css"> ... </style>
sub subscript inline <sub> ... </sub>
sup superscript inline <sup> ... </sup>
table table block <table> ... </table>
td table data cell - <td> ... </td>
th table header cell - <th> ... </th>
title title - <title> ... </title>
tr table row - <tr> ... </tr>
ul unordered list block <ul> ... </ul>
element naam soort tags voorbeeld opmerking

 

Enkele andere attributen:

class="..."

colspan="..."

id="..."

rowspan="..."

style="..."

title="..."

 

https://vanwaart.home.xs4all.nl