html-basics

HTML :: martin.eilmannsberger.uni-linz, 5. Oktober 2010, 16:30

<html> <!--tells the browser that this is an HTML document-->
<head> <!--is a container for all the head elements-->
<title>Title of the document</title>
</head>

<body> <!--contains all the contents of an HTML document-->
The content of the document......
</body>

</html>

 

<!--This is a comment. Comments are not displayed in the browser-->

<h1>This is heading 1</h1>

<h2>This is heading 2</h2>

<h3>This is heading 3</h3>

<h4>This is heading 4</h4>

<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

<p>This is some text.</p>

<hr />


This text contains<br />
a line break.

<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>

  1. Coffee
  2. Tea
  3. Milk

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

  • Coffee
  • Tea
  • Milk

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
</table>

Month Savings
January $100

 

 

Source: http://www.w3schools.com/TAGS/

0 comments :: Kommentieren


To prevent spam abuse referrers and backlinks are displayed using client-side JavaScript code. Thus, you should enable the option to execute JavaScript code in your browser. Otherwise you will only see this information.