View Single Post
Old 10-20-2019, 02:37 PM   #28
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Just as an example of how grungy that code is - you can do the exact same thing with the following:

Instead of:
Code:
<body bgcolor=white lang=EN-US class=blue vclass=purple style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Philip
Ogley</span></p>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Le Glitch</span></p>

<span lang=EN-GB style='font-size:12.0pt;font-family:Times;mso-ansi-language:
EN-GB;mso-fareast-language:EN-US'><br clear=ALL style='page-break-before:always'>
</span>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>First
published 2019 by Canapé Publishing, UK</span></p>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o></o></p>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>ISBN:
978-1-69115878-2 (Paperback)</span></p>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o></o></p>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Copyright ©
2019 Philip Ogley</span></p>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o></o></p>
you would have:
Code:
<body>

<p>Philip Ogley</p>

<p>Le Glitch</p>

<br />

<p>First published 2019 by Canapé Publishing, UK</p>

<p>ISBN: 978-1-69115878-2 (Paperback)</p>

<p>Copyright © 2019 Philip Ogley</p>
Clean code not only works on the largest number of devices/apps, but it looks good, displays (renders) faster on those devices (the older the device the more improvement), easier to edit, smaller file sizes (which can reduce distribution costs), etc. Well worth the time getting it done right!

Cheers,
Turtle91 is offline   Reply With Quote