Skip to content

Instantly share code, notes, and snippets.

View radarin's full-sized avatar

René A. Da Rin radarin

View GitHub Profile
@radarin
radarin / a.html
Last active October 18, 2017 23:09
Hyperlink
<!-- Öffnet neue Seite im selben Fenster -->
<a href="http://www.domain.ch">www.domain.ch</a>
<a href="http://www.domain.ch" target="_self">www.domain.ch</a>
<a href="../index.html">www.domain.ch</a>
<!-- Öffnet neue Seite in neuem Fenster-->
<a href="http://www.domain.ch" target="_blank" rel="noopener">www.domain.ch</a>
<!-- Lädt aktuelle Seite neu -->
<a href="">www.domain.ch</a>
<!-- Springt an den Seitenanfang -->
<a href="#">www.domain.ch</a>
@radarin
radarin / img.html
Last active October 18, 2017 23:02
Bilder
<img src="../images/bild.jpg" width="100" height="50" alt="Sonne" title="hier klicken">
@radarin
radarin / css-in.html.html
Last active October 19, 2017 04:30
CSS in HTML integrieren
<html lang="de">
<head>
<style>
h1 {
background-color: #ffffff;
color: #000000;
}
p {
@radarin
radarin / css-extern.html
Last active October 19, 2017 03:27
CSS in externe Datei auslagern
<head>
<link rel="stylesheet" href="css/styles.css" media="all" />
</head>
@radarin
radarin / externes-style.css
Created October 19, 2017 04:37
CSS in externer Datei
h1 {
background-color: #ffffff;
color: #000000;
}
p {
text-align: center;
color: #aaaaaa;
}
@radarin
radarin / html-tags.css
Last active October 19, 2017 07:14
Klassen für HTML-Tags
body {
background-color: #FFFFFF;
color: #000000;
font-family:"Trebuchet MS",tahoma,verdana,arial,helvetica;
font-size:13px;
}
h1, h2 {
color: #555555;
}
@radarin
radarin / formular.html
Created October 19, 2017 05:54
Formular
<form
method="post"
action="sendform.php"
enctype="application/x-www-form-urlencoded">
<input type="submit" value="Losschicken">
</form>
@radarin
radarin / formfields.html
Last active October 19, 2017 06:25
Formularfelder
<!-- Textfeld -->
<INPUT type="text" name="vorname" size="40" maxlength="150" value="">
<!-- Passwort -->
<INPUT type="password" name="passwort" size="40" maxlength="150" value="">
<!-- Textbereich -->
<textarea name="bemerkungen" rows="5" cols="40">Vorgegebener Text</textarea>
<!-- Checkbox -->
<input type="checkbox" name="sport"> Sport
<input type="checkbox" name="essen"> Essen
<input type="checkbox" name="auto"> Auto
@radarin
radarin / form-message.html
Last active October 19, 2017 06:42
Formular Nachricht
<form
method="post"
action="sendform.php"
enctype="application/x-www-form-urlencoded">
<p>
Anrede<br />
<input type="radio" name="anrede" value="herr"> Herr<br />
<input type="radio" name="anrede" value="frau"> Frau<br />
<br />
Vorname
@radarin
radarin / class-tags.css
Created October 19, 2017 22:08
Eigene Klassen
.info-grey{
background: #E8E8E8;
border-color: #E8E8E8;
border-width: 1px;
padding: 1em 0.5em 1em 0.5em;
color: #5D5D5D;
outline: none;
display: flex;
border-radius: 5px;
-webkit-border-radius: 5px;