mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-02-11 09:48:41 +00:00
Extracting html standards
This commit is contained in:
parent
f91959e3eb
commit
3a65029694
|
|
@ -12,37 +12,6 @@ The term "class" refers to all classes, interfaces, and traits.
|
||||||
|
|
||||||
The default indention MUST be 4 spaces.
|
The default indention MUST be 4 spaces.
|
||||||
|
|
||||||
## Html
|
|
||||||
|
|
||||||
### Omitted closing tags
|
|
||||||
|
|
||||||
The following closing tags SHOULD be omitted:
|
|
||||||
|
|
||||||
* `</li>`
|
|
||||||
* `</option>`
|
|
||||||
* `</tr>`
|
|
||||||
* `</td>`
|
|
||||||
* `</th>`
|
|
||||||
* `</thead>`
|
|
||||||
* `</tbody>`
|
|
||||||
* `</tfoot>`
|
|
||||||
* `</head>`
|
|
||||||
* `</body>`
|
|
||||||
* `</html>`
|
|
||||||
|
|
||||||
The following tags MUST not specify a end tag (\\):
|
|
||||||
|
|
||||||
* `<br \>`
|
|
||||||
* `<meta \>`
|
|
||||||
* `<input \>`
|
|
||||||
* `<hr \>`
|
|
||||||
* `<img \>`
|
|
||||||
* `<link \>`
|
|
||||||
* `<source \>`
|
|
||||||
* `<embed \>`
|
|
||||||
|
|
||||||
#
|
|
||||||
|
|
||||||
## JavaScript
|
## JavaScript
|
||||||
|
|
||||||
## Scss
|
## Scss
|
||||||
38
standards/html.md
Normal file
38
standards/html.md
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Html
|
||||||
|
|
||||||
|
All html has to be html 5 compliant.
|
||||||
|
|
||||||
|
## Omitted closing tags
|
||||||
|
|
||||||
|
The following closing tags SHOULD be omitted:
|
||||||
|
|
||||||
|
* `</li>`
|
||||||
|
* `</option>`
|
||||||
|
* `</tr>`
|
||||||
|
* `</td>`
|
||||||
|
* `</th>`
|
||||||
|
* `</thead>`
|
||||||
|
* `</tbody>`
|
||||||
|
* `</tfoot>`
|
||||||
|
* `</head>`
|
||||||
|
* `</body>`
|
||||||
|
* `</html>`
|
||||||
|
|
||||||
|
The following tags MUST not specify a end tag (\\):
|
||||||
|
|
||||||
|
* `<br \>`
|
||||||
|
* `<meta \>`
|
||||||
|
* `<input \>`
|
||||||
|
* `<hr \>`
|
||||||
|
* `<img \>`
|
||||||
|
* `<link \>`
|
||||||
|
* `<source \>`
|
||||||
|
* `<embed \>`
|
||||||
|
|
||||||
|
## Accessible Rich Internet Applications
|
||||||
|
|
||||||
|
All modules and themes SHOULD be WAI-ARIA 2.0 compliant. For further reading please refere to https://www.w3.org/TR/WCAG20-TECHS/aria.
|
||||||
|
|
||||||
|
## Structured Data (Microdata)
|
||||||
|
|
||||||
|
For structured data https://schema.org/ SHOULD be used.
|
||||||
Loading…
Reference in New Issue
Block a user