Site Tools


HTML basics

Code Function
<!-- --> everything between <!- and -> will be commented
<table><tr><td></td></tr></table> opens a table, a row, a cell, close cell, close row, close table
<td colspan="2"> connect 2 columns
<p></p> paragraph around a text
<br/> break line
<a href="">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

<!DOCTYPE html>
<meta charset="UTF-8">
<p>This is a text.</p>

webseite/html/basic.txt · Last modified: 2018/12/20 17:42 by lunetikk