Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
webseite:html:basic [2014/05/27 14:23] – lunetikk | webseite:html:basic [2018/12/20 17:42] (current) – Discussion status changed lunetikk |
---|
====== HTML Basics ====== | ===== HTML basics ===== |
| |
^Code^What it does^ | |
| %%<!-- -->%% | everything between - and - will be commented | | ^ Code ^ Function ^ |
| %%<table><tr><td></td></tr></table>%% | opens a table, a row, a cell, close cell, close row, close table | | | %%<!-- -->%% | everything between <!- and %%->%% will be commented | |
| <p></p> | paragraph around a text | | | %%<table><tr><td></td></tr></table>%% | opens a table, a row, a cell, close cell, close row, close table | |
| <br/> | break line | | | %%<td colspan="2">%% | connect 2 columns | |
||| | | %%<p></p>%% | paragraph around a text | |
||| | | %%<br/>%% | break line | |
| | %%<a href="http://lunetikk.de/dokuwiki/">This is a link</a>%% | creates a link for websites | |
| | %%<link rel="stylesheet" type="text/css" href="styles.css">%% | insert a css | |
| | %%<div id="container"> </div>%% | add a div container | |
| | %%<meta charset="utf-8" />%% | add charset utf-8 | |
| | %%<input name="Name" type="text" size="12" maxlength="25" required>%% | mark an input as required | |
| | %%<input name="Datei[]" type="file" size="50" maxlength="100000" accept="text/*" multiple>%% | allow to upload multiple files | |
| | %%<img src="smiley.gif" alt="Smiley face" height="42" width="42">%% | add a picture | |
| |
| ===== HTML example ===== |
| |
| <code html index.html> |
| <!DOCTYPE html> |
| <html> |
| <meta charset="UTF-8"> |
| <body> |
| |
| <h1>Head</h1> |
| |
| <p>This is a text.</p> |
| |
| </body> |
| </html> </code> |
| |
| |
| \\ |
| \\ |
| ~~DISCUSSION:closed~~ |