D29084: Make the HTML file template more useful
Grzegorz Szymaszek
noreply at phabricator.kde.org
Wed Apr 22 10:12:02 BST 2020
gszymaszek added a comment.
In D29084#654484 <https://phabricator.kde.org/D29084#654484>, @ognarb wrote:
> - Don't include `<style></syle>`, it's not recommanded to inclde <style> elements but instead to link to a css file.
Well, it depends on the purpose of the HTML document (a self‐contained one, or a part of a website). But I agree that it would be better to remove the `style` element. If the user wants to add some stylesheets, they can always add either a `link` or a `style`, whatever they prefer.
In D29084#654484 <https://phabricator.kde.org/D29084#654484>, @ognarb wrote:
> - Maybe you could also include the usual HTML semantic elements:
>
> <body>
> <header>
> <nav></nav>
> </header>
> <section></section>
> <footer></footer>
> </body>
I can add a `header` and a `footer`, but I would prefer `main` over `section` and I’d rather not add `nav`. Again, the HTML document may be a part of a website, and require some navigation in such case, but it may be an individual marked‐up document as well, an HTML equivalent of an OpenDocument/RST/TeX.
REPOSITORY
R241 KIO
BRANCH
html-file-template (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D29084
To: gszymaszek, #frameworks, dfaure, ognarb
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200422/40f82fef/attachment.html>
More information about the Kde-frameworks-devel
mailing list