|
 |
|
 |
Hello, and
welcome to MyHTMLCodes, your #1 choice for MySpace resources!
|
Below are some basic html codes that you can use on your MySpace and any other html
page.
| Quick Links - Click the link to
view information about it. |
- Making Links
- Font Decoration/Style (ex: underline, bold,
italic, etc.)
- ASCII
Codes
- H1, H2, H3, etc. (font headings)
- Alignment (center, left, right, justify, etc.)
- Line Break (<br>, starts a new line.)
- More coming soon!
|
| - Making
Links |
Well, making links is pretty much what lets users get around on your
site, or page. A link is something that your visitor will click on, and
it will take them to somewhere else. A link is not a URL, a URL is the LOCATION,
not what you click on; alot of people get that mixed up.
The code:
<a href="%LOCATION/URL HERE%">Link text here</a>
This will create:
First of all, the <a href=" is what starts out our link tag. After that
is the location/url section (in the example I used %LOCATION/URL HERE%,
but you will replace that with the URL/location (obviously.) of the place
you're linking to.
|
| -
Font Decoration/Style (ex: underline, bold, italic, etc.) |
By default, your font (writing/text,) won't have any decoration/styling,
so you'll have to add it. There are many tags and styles you can use, but
we'll go over the basic ones.
Bold - The code:
<b>example text</b>
Will create:
example text
Underline - The code:
<u>example text</b>
Will create:
example text
Italic- The code:
<i>example text</i>
Will create:
example text
And that's it for the basic font tags; you can also mix more than one
tag together, and create a multi-style effect.
Font colors:
You can make your font different colors by adding <font> tags to your text.
You can do pretty much any color, if you can get the HEX code, you can get
almost any color from our color code chart, located
HERE.
So... to make a font tag and change your font color, use the following code:
<font color="#%HEX COLOR%">your text here..</font>
You will have to get the color you want from our color chart and replace
%HEX COLOR% with the color you like! You can also use basic colors like,
red, blue, black, etc. by just putting in the font name, but if you don't
use a basic font name, you have to put the # sign before your hex code.
Have fun.
|
| -
Font Headings |
| Instead of typing out the long font tag, you can just use codes such
as <h1>, <h2>, <h3, <h4>, <h5>, and <h6>. They are pre-defined codes that
will resize your text. They go from largest to smallest, in the order listed
above. Examples:
This is H1
This is H2
This is h3
This is h4.
This is h5.
This is h6.
|
| -
Aligning |
| You can also align your content, using tags such as, <center>, <div
align="left">, <div align="right">, <div align="justify", and others.
Examples:
Centered - The code:
<center>text/content here...</center>
Creates:
Text/content here...
Aligned to the right - The code:
<div align="right">text/content here...</div>
Creates:
Aligned to the left - The code:
<div align="left">text/content here...</div>
Creates:
Aligned justified - The code:
<div align="justify">text/content here...</div>
Creates:
text/content here... This alignment makes long content look
even, example here.... example blah blah example it has to be
long text for it to do anything, but it looks more professional.
kthx
|
| -
Line Breaks (<br>) |
| Line breaks are what make a new line... without them, your text would
just be one long line. Examples:
Without line breaks:
Even though it looks like
you're making
a new line,
you really aren't.
Creates:
Even though it looks like you're making a new line, you really aren't.
With line breaks:
Even though it looks like<br>
you're making<br>
a new line,<br>
you really aren't.<br>
Creates:
Even though it looks like
you're making
a new line,
you really aren't.
|
|
|
|