27: Learn basic HTML

- Tips For Blogging

<b>Why am I bold?</b>
The HTML code above can still be achieved by highlighting the text and hitting CTRL+B. But learning the basic way to achieve these could be of much advantage. In the early days of WordPress, some bloggers find it difficult to embed a YouTube video without the help of plugins. You even find some bloggers pasting HTML codes in fields meant for rich text editing, and showing strange characters to visitors. This simply happens because the blogger lacks the knowledge of Basic HTML.
HTML which stands for Hyper Text Markup Language is the language of the web. It is styled with CSS, but you don’t need to go that far. With HTML, you can do several things your normal Rich Text Editor is incapable of doing.
Assuming you have a YouTube video on a page and the embed code you pasted is has an attribute of a fixed width:
<embed src=”url of the video” width=”500px”></embed>
This video might have issues with mobile devices of width smaller than 500 pixels. But with proper HTML knowledge, you can tweak the code to have width=”100%” which makes it fluid and fit to any width.
This same thing could be done with images/pictures.
<img src=”url of picture” width=”500px”/>
could turn to
<img src=”url of picture” width=”100%”/> or
<img src=”url of picture” style=”width:100%;height:auto;”/>
The latter is CSS and is even a better way of coding, but you are a blogger so you may choose to ignore. More HTML tags can be found on Google.