a
This commit is contained in:
27
WS24_25/WebTech/ue4/2/seite.html
Normal file
27
WS24_25/WebTech/ue4/2/seite.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
|
||||
<head>
|
||||
<title>Übung: CSS lesen</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Cascading Stylesheets</h1>
|
||||
<nav> <a href="#einleitung">Einleitung</a> | <a href="#syntax">Syntax</a> </nav>
|
||||
<section id="einleitung">
|
||||
<h2>Einleitung</h2>
|
||||
<p>Mit Cascading Stylesheets (CSS) kann die Darstellung von HTML-Elementen definiert werden.</p>
|
||||
<div class="hinweis">Hinweis: Damit unterstützt CSS die saubere Trennung zwischen Darstellung und
|
||||
Inhalt/Struktur.</div>
|
||||
</section>
|
||||
<section id="syntax">
|
||||
<h2>Syntax</h2>
|
||||
<p>Eine CSS-Regel besteht aus einem Selektor und einem Deklarationsblock mit 1-n Deklarationen.</p>
|
||||
<div class="hinweis">Hinweis: Deklarationen werden mit Semikolons getrennt.</div> <a
|
||||
href="http://w3c.org/css">Weitere Infos im Standard...</a>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user