emailconfirmed, nsInternRO, nsInternRW, Administrators
3,356
edits
| m (→Ressourcen) | m (fixed lines and highlight) | ||
| Line 18: | Line 18: | ||
| Nicht sehr sinnvoll im Hinblick auf die Trennung von Inhalt und Design ist das Einbinden von Styles in Tags (inline style): | Nicht sehr sinnvoll im Hinblick auf die Trennung von Inhalt und Design ist das Einbinden von Styles in Tags (inline style): | ||
| <source lang="HTML4Strict"  | <source lang="HTML4Strict" highlight="7,8"> | ||
| <html>   | <html>   | ||
| <head>   | <head>   | ||
| Line 35: | Line 35: | ||
| Möglich, aber nicht optimal ist das Einbinden eines Stylesheets im Header (intern): | Möglich, aber nicht optimal ist das Einbinden eines Stylesheets im Header (intern): | ||
| <source lang="HTML4Strict"  | <source lang="HTML4Strict" highlight="5-15,18"> | ||
| <html>   | <html>   | ||
| <head>   | <head>   | ||
| Line 63: | Line 63: | ||
| '''HTML-Datei:''' | '''HTML-Datei:''' | ||
| <source lang="HTML4Strict"  | <source lang="HTML4Strict" highlight="5,8"> | ||
| <html>   | <html>   | ||
| <head>   | <head>   | ||
| Line 78: | Line 78: | ||
| <br/> | <br/> | ||
| '''CSS-Datei:''' | '''CSS-Datei:''' | ||
| <source lang="CSS"  | <source lang="CSS"> | ||
| /* My Custom CSS Style */ | /* My Custom CSS Style */ | ||
| p { | p { | ||
| 	background:grey; | 	background: grey; | ||
| 	text-align:right; | 	text-align: right; | ||
| 	font-size:32px; | 	font-size: 32px; | ||
| 	margin:0 0 40px 0; | 	margin: 0 0 40px 0; | ||
| 	padding-right:20px; | 	padding-right: 20px; | ||
| } | } | ||
| .red { color:red; } | |||
| strong, .bold { font-weight:bold; } | .red { color: red; } | ||
| strong, .bold { font-weight: bold; } | |||
| </source> | </source> | ||
| == Formate == | == Formate == | ||