Like the Web? Ever thought of making your own Web Site? Then you should learn HTML. It's the base of all webpages, and it's not that hard to learn.
Ok...I hate Google Sites...The code below works when I put the code in, but delets it when I save! GRRRR! So again, like many other of my posts, this WILL work, Google is just being stupid and deletes it on my Site.
This script will allow you to have an alert box pop up when ever someone rolls over, clicks, or lets go of the words. Try it out on the text bellow:
You can do this on <p>,<b>, <a href>, and many more! What you need to do, is place this code AFTER the letter:
Alert when mouse is over text: < b onmouseover="alert('your message here');return true;">Bold Text</b>
Alert when mouse clickes on text:< b onmousedown="alert('your message here');return true;">Bold Text</b>
Alert when mouse is release: < b onmouseup="alert('your message here');return true;">Bold Text</b>
This is also a good way to hide something on your website...have something look like normal text, but actually have a hidden message!
If you want to see this code working in action, View This Page, or click on Text Alerts in the Attachments.
Special thanks to www.web-source.net, where I learned about this! Give their site a visit!
Have you ever had an idea, put in on a website,
but later decided to get rid of it??
but decided to change it? Then a Strike through text is for you! to do it, simple put in this code:
<strike>Your text here</strike>
And there you go!
Remember <p>, the 'old school' way to make text?
Well now, this is the 'Old School' way to make bold, italic and underlined text.
<b>your bold text here<b>
<u>Your underlined text here</u>
<i>Your italic text here</i>
Say you have a link to a site:
and you want to describe it. You can describe it by writting text under it, but, you can also do this:
(put your mouse over the link!)
This can provide information about your link, without taking up space!
To do this, add the code to your link code:
<a href="http://www.Yoursite.com" title="Your discription here">This will be blue</a>
You can also describe regular text. Just add the same code:
<p title="Your discription here">Your text</p>
Unordered Lists are kind of like Odered Lists, but use shapes, enstead of letters or numbers.
Here is an example of an Unordered List:
So if you type in <OL> for a Ordered List, what would you type for a Unorderd List?
You would type:
The listing is still the same as Ordered lists:
So all together, it is:
You can change the bullet aswell, to:(again, Google Sites is being weird =( So this is SHOULD work, but might not in Google Sites =( )
To do circles, add:
To do squares, add:
Lists are good when you want to breifly explain something. You can make a simple list in HTML
To make one, type in this code:
<LI>Your text here 1
<LI>your text here 2
It will look something like this:
- Your text here 1
- your text here 2
You can add as many <LI>, or List Items, as you want:
<LI>List number 1
<LI>List number 2
<LI>List number 3
<LI>List number 4
<LI>List number 6
<LI>List number 7
<LI>List number 8
<LI>List number 9
<LI>List number 10
You can change Ordered Lists (<OL>) many ways. You can make them: (P.S Google Sites is being weird, and the code isn't working =( but this should work in any other HTML page)
To make them letters, add:
<LI> List number 1
To make them Roman Numberals, add:
<LI> List number 1
You can make your Lists start on any:
- or letter
<LI> Lists starts on 5
<OL type="A" start="2">
<LI> List starts on B
<OL type="I" start="10">
<LI> List starts on X
You can upload an image, by using:
But what do you do if the picture is too big?
Simple! Type in the image code:
BUT, add the bold code with to it:
<img src="http://www.whatever.com" width="50" hight="50">
The width and hight tell you exactly how big you want your picture. It doesn't measure in inches, or cm. It measure by pixles. Pixles are small, so you don't want to do: width="1" hight="1"; that will make it too small to see.
(see that red dot? that's with: width="1" hight="1")
width="100" hight="100" is a decent size. It looks like this:
Just guess and check on the width and hight numbers, until you can get your image just the right size.
We all know how to make Hyperlinks, right?
<a href="www.website.com">this will be blue</a>
Well say you want an Image to be a Hyperlink, just to make your site look cool. How do you do it?
Well, you combine the Hyperlink code, with the Image code:
<a href="www.whateversite.com"><img src="http://www.whereeverImageis.com"></a>
Notice you dont write the"this will be blue" stuff.
Here is an Example:
A horizontal rule is a line seperating the content of your page. It looks something like this:
A horizontal rule can be helpful if you want to seperate 2 things on your website. To make a horizontal rule, type in:
HR, for Horizontal Rule =)
With that said, you would think there would be a Vertical Rule, by doing <VR> right?
for some unkown reason, HTML code doesn't support a vertical rule.
Although you can just type in text in your webpage, here is the 'Old School' way to put in text:
<p>your text here</p>
your text here