Compare commits

...

2 Commits

Author SHA1 Message Date
welle7 117ddbc9e5 gitignore 2020-02-10 19:33:04 +01:00
welle7 93896d93a6 semantic 2020-02-10 19:31:38 +01:00
6 changed files with 211 additions and 1 deletions

1
.gitignore vendored 100644
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -21,4 +21,7 @@
* [jsfiddle](https://jsfiddle.net/)
* [Google Search Console](https://search.google.com/search-console)
* [Cross Browser testing](https://www.browserling.com/)
* [Browser Test](https://html5test.com/)
* [Browser Test](https://html5test.com/)
### Interne Links
* [Semantische Tags](html/semantic.html)

142
css/code.css 100644
View File

@ -0,0 +1,142 @@
/* PrismJS 1.19.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.token.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}

8
css/style.css 100644
View File

@ -0,0 +1,8 @@
body {
font: 1.2em helvetica, sans-serif;
height: 100%;
}
main{
max-width: 960px;
margin: 20px auto;
}

49
html/semantic.html 100644
View File

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Semantic Tags</title>
<link rel="stylesheet" href="../css/code.css">
<link rel="stylesheet" href="../css/style.css">
</head>
<body>
<main>
<header>
<h1>HTML Semantische Tags</h1>
</header>
<pre class=" language-html">
<code class=" language-html">
&#60;abbr&#62; Abbreviation
&#60;acronym&#62; Acronym
&#60;blockquote&#62; Long quotation
&#60;dfn&#62; Definition
&#60;address&#62; Address for author(s) of the document
&#60;cite&#62; Citation
&#60;code&#62; Code reference
&#60;tt&#62; Teletype text
&#60;div&#62; Logical division
&#60;span&#62; Generic inline style container
&#60;del&#62; Deleted text
&#60;ins&#62; Inserted text
&#60;em&#62; Emphasis
&#60;strong&#62; Strong emphasis
&#60;h1&#62; First-level headline
&#60;h2&#62; Second-level headline
&#60;h3&#62; Third-level headline
&#60;h4&#62; Fourth-level headline
&#60;h5&#62; Fifth-level headline
&#60;h6&#62; Sixth-level headline
&#60;hr&#62; Thematic break
&#60;kbd&#62; Text to be entered by the user
&#60;pre&#62; Pre-formatted text
&#60;q&#62; Short inline quotation
&#60;samp&#62; Sample output
</pre></code>
<footer>
<a href="https://git.perin.work/andy/webdev">Download</a>
</footer>
</main>
<script src="../js/code.js"></script>
</body>
</html>

7
js/code.js 100644

File diff suppressed because one or more lines are too long