<table><tr><td style="">gszymaszek added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29084">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D29084#654484" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D29084#654484</a>, <a href="https://phabricator.kde.org/p/ognarb/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@ognarb</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><ul class="remarkup-list">
<li class="remarkup-list-item">Don't include <tt style="background: #ebebeb; font-size: 13px;"><style></syle></tt>, it's not recommanded to inclde <style> elements but instead to link to a css file.</li>
</ul></div>
</blockquote>
<p>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 <tt style="background: #ebebeb; font-size: 13px;">style</tt> element. If the user wants to add some stylesheets, they can always add either a <tt style="background: #ebebeb; font-size: 13px;">link</tt> or a <tt style="background: #ebebeb; font-size: 13px;">style</tt>, whatever they prefer.</p>
<blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D29084#654484" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D29084#654484</a>, <a href="https://phabricator.kde.org/p/ognarb/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@ognarb</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><ul class="remarkup-list">
<li class="remarkup-list-item">Maybe you could also include the usual HTML semantic elements:</li>
</ul>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="html" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span class="p"><</span><span style="color: #00702a">body</span><span class="p">></span>
<span class="p"><</span><span style="color: #00702a">header</span><span class="p">></span>
<span class="p"><</span><span style="color: #00702a">nav</span><span class="p">></</span><span style="color: #00702a">nav</span><span class="p">></span>
<span class="p"></</span><span style="color: #00702a">header</span><span class="p">></span>
<span class="p"><</span><span style="color: #00702a">section</span><span class="p">></</span><span style="color: #00702a">section</span><span class="p">></span>
<span class="p"><</span><span style="color: #00702a">footer</span><span class="p">></</span><span style="color: #00702a">footer</span><span class="p">></span>
<span class="p"></</span><span style="color: #00702a">body</span><span class="p">></span></pre></div></div>
</blockquote>
<p>I can add a <tt style="background: #ebebeb; font-size: 13px;">header</tt> and a <tt style="background: #ebebeb; font-size: 13px;">footer</tt>, but I would prefer <tt style="background: #ebebeb; font-size: 13px;">main</tt> over <tt style="background: #ebebeb; font-size: 13px;">section</tt> and I’d rather not add <tt style="background: #ebebeb; font-size: 13px;">nav</tt>. 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.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>html-file-template (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29084">https://phabricator.kde.org/D29084</a></div></div><br /><div><strong>To: </strong>gszymaszek, Frameworks, dfaure, ognarb<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>