Ask yourself: why does the internet produce far more HTML
than PDF?
Because HTML is not a print format, it has to adapt to
different screen-width, styles and font-sizes by automatically
flowing stuff around.
When writing one wants a max line width between 60-80 char,
your automated linebreaks would jigsaw the reading experience.
As a demonstration I've manually included such linebreaks in
this post. Have fun reading this on different devices.
In HTML it's the reader who decides about the line-width
by resizing his browser. There are only limited useful cases
where br-tags are appropriate.
This all is no new wisdom, it's the absolute basic a respected
web programmer needs to know about HTML.
So please do yourself (and us) a favor and stop showering pros
with your ignorant amateur advices. This is a Perl board we not
a web-dev kindergarten.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|