Add Borders to div or images
If you want to add white color, 1px border to an image:
How to make borders have round-corners
This tag will work no matter what a border exists. This style tag will work correctly on every browser except for iE6, 7.
About color for texts / div / table elements
As you can see, you don't always need to type hexadecimal for color like #000000. It is allowed to type "white", "black", "red", "blue", "navy", and "gray". There are more pre-defined standard colors.
Hyperlink target window options
If you want to open a link on a new window:
If you want to open a link on same level frame:
If you want to open a link on a top level frame: (for HTML snippet)
Set hypertext & anchor color with hover effects
You must follow this order below. Otherwise it will not work. (Replace color & text-decoration as you want.)
How to align some elements vertically in the middle
It's impossible to align texts or images in the middle within <div>, <p> tags. Instead, you must use "<table>" elements, then insert contents into each cell. (1:1 matching within <td></td>)
The correct way to insert relative paths
This is the most-frequently asked tip:
These are summarized lists from many users' questions. We will keep updating this tutorial when we gather something important for composing HTML & CSS.