Charles County Cafe

Charles County Cafe

HTML Codes

Ok, if you are interested in sprucing up your comments, here are some HTML codes to do exactly that.

HTML codes are simple text codes that mean something to your browser.

An HTML code usually has a pair of brackets ("<", ">") surrounding the body of the code. The HTML code requires an ending tag. Thus, you must include a slash ("/") in the closing brackets.

Here is an example of a tag, the "horizontal rule":

<hr />

Note the format of the command: Bracket ("<") command ("hr") slash ("/") closing bracket (">")

When used, the HR tag creates a horizontal line across the page, denoting a separation of space, as below.


Now some other tags

<br /> – Break: Force a line break.
This is asentence with a break in

between


<a href="YOURURL" target="_blank">YOURTEXT</a> – Anchor tag: creates a link to webpage. Replace the YOURURL with the link (including HTTP if it's on another website), and YOURTEXT with the text that will be displayed to the user.

This command: <a href="http://www.charlescountycafe.com" target="_blank">CCCafe</a>

Creates this link: CCCafe


<img src="YOURURL" alt="YOUR DESCRIPTION" /> – Image tag: displays an image. Replace YOURURL with the full URL to the picture (including HTTP if it's on another website). Replace "YOUR DESCRIPTION" with a simple text description of your picture.

This code: <img src="http://www.charlescountycafe.com/wp-content/uploads/2008/04/heath eryearbook1987.jpg" alt="" />

Creates this image:

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

4 Comments

4 responses so far ↓

You must log in to post a comment.