Single post
jump to repliessmolweb-validator is a new CLI tool to check if a web page respects smolweb HTML subset.
This tool uses jsoup HTML5 parser, a java library.
Exemple :
$ ./smolweb-validate https://adele.pages.casa/md/
π Validating: https://adele.pages.casa/md/
ββββββββββββββ
π VALIDATION SUMMARY
ββββββββββββββ
β
VALID: This page conforms to the smolweb HTML subset!
π Statistics:
Total elements: 71
Valid elements: 71
Invalid elements: 0
ββββββββββββββ
Validation complete.
5 replies
back to tops tag is not part of the W3C XHTML Basic, unlike b and i.
As explained in the smolweb HTML subset guide, this subset is inspired by a previous work proposed by W3C: the XHTML Basic.
The XHTML Basic document type includes the minimal set of modules required to be an XHTML host language document type, and in addition it includes images, forms, basic tables, and object support. It is designed for Web clients that do not support the full set of XHTML features; for example, Web clients such as mobile phones, PDAs, pagers, and set top boxes. The document type is rich enough for content authoring.
For a better compatibility, it is not a good idea to specify the XHTML Basic 1.1 DTD in the doctype for smolwebsites.
Some deprecated tags (accronym, big, tt) have been removed from this list. Object and param tags have been banned to avoid inclusion of specific code such as Java applets.
As specify in Guidelines, semantics tags issued in more recent HTML versions have been added to propose a better accessibility.
@vulonkaaz However, adding s tag could be a good idea.
I will search if it is well supported by old and tiny/basic browsers. If ignored, it would be dangerous to not see that a text is stroke.
think it would make sense to add it