Thursday 11 April 2024

Horrible HTML

Google Blogger is quite good to write posts in, but occasionally the editor seems to lose the plot and I can't get it to format the post how I want it to.

In these cases I can go and edit the HTML code in the post.  I am by no means an expert in HTML, but I do know my way around simple stuff.

The first view of the HTML code is horrendous, but there is a button to "format html" which makes it readable.

It does seem to have a habit of leaving empty <div>s around which can be deleted.  Also unwanted <div>s changing the line spacing which can be replaced by a simple <p>

But, if the compose view looks OK I generally don't touch the HTML.  If it looks wrong then it's usually only a few minutes to correct it - after a bit of practice. 

There does not seem to be a button to place a horizontal line, so the only way is to add a <hr> in HTML view.


No comments: