Long time no post! This is a post where you guys can request a snippet of HTML code to do a certain thing, sort of like question and answer. All you have to do is leave a comment, and we'll get back to you in a comment as soon as possible.
Also, to remind you, the HTML newsletter is still active. Not many people are signing up. Remember, you can get a free Gmail account if you sign up! First 5 people get Gmail accounts, and out of the next 5 people, 1 gets a Gmail account. (At least.)
Sometimes, our html tricks do not show up the way you want it to. Before you break your computer, look at these tips and see if you can find your html problem:
Make sure you have completely read the html trick.
Make sure you have written the code on one line.
Make sure you put your quotes in the right places. Double-check your < and >s.
Make sure that the code is put in the correct place of the document. You also have to start a page like this.
If nothing worked, please go to the code help forum, and tell us your problem.
Note: Please learn other html before you advance to stylesheets.
What are stylesheets???
They are a sheet of code right below your <head> which change the the rest of the page, making it more stylish. It can change how bullets, paragraphs, images, etc. all look.
Writing stylesheets
The basic way you write a stylesheet is...
<style type="text/css">
TYPE OF HTML TAG{property: value; secondproperty, value}
</style>
So, let's say you wanted to change how paragraphs look. (paragraphs are made with <p> and </p>
This is how you do it, if you wanted to change the color of paragraphs:
<style type="text/css">
P{color: "green"}
</style>
Observe that since we wanted to change only one property of paragraphs, we simply left out the second property.
....hmmm....
If that stylesheet code was inserted right after the <head>, then all text put between <p> and </p> will be green!.
Now you know some basic principle on creating a stylesheet and stylesheets are one of the best tricks you can have among all the html code on your web page.
In paragraphs, you can also change the font-size and much more.
Instead of changing paragraphs, you can change bullets, or more.
Did this page fade when you came into it? If it didn't you are probably using a browser other than Internet Explorer (or HTML Tips is your home page, which is highly unlikely).
That fade was accomplished using this command in the head of the HTML code (crammed onto 1 line):
This "blends" the page in for 2.0 seconds when it is entered.
You can change the Page-Enter to Page-Exit, Site-Enter, or Site-Exit. Also, you can change the "blendTrans(Duration=2.0)" to:
"revealTrans(Duration=2.0,Transition=2)" for Circle In
"revealTrans(Duration=2.0,Transition=5)" for Wipe Down
or
"revealTrans(Duration=2.0,Transition=10)" for Checkerboard Across.
Change the Duration=2.0 to a different number for a longer or shorter transition (in seconds).
Change the Transition=2 to a different number for a different transition.
Make your site more interesting and beautiful using this tip!
NOTE FROM GEOFFREY: This tip only works in Internet Explorer. Also, it does not work when a site is your homepage (there is nothing to transition from).
Many browsers know that people don't always have 3 megabit connections to the internet (why are you staring at me), so they save websites onto their viewer's computer. Then, when the viewer visits the website again, the browser puts the outdated version of the web page it has saved in front of the viewer. This process is called caching. If your page is constantly updated, it is usually a bad idea to have browsers cache your website. Therefore you will need this html tip:
Put this code right after the <head>:
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
Do not worry about the queer date, but worry about putting the code onto the least lines as possible. Your page will now probably never be cached again!
<p align="justify">bla bla bla bla blablabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
</p>
It creates this justified text:
bla bla bla bla bla bla blablabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
(Unjustified text:
bla bla bla bla bla bla bla bla bla bla bla blablabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
Delete all the html code you have for your web page if you want to start your page from scratch! To start a web page from scratch with html insert this code: <html> <head> </head> <body> </body> </html> After you have done this, you can look at the html tips provided at this web page and use them between the <body> and </body> tags. I suggest looking at this tip first. Remember that to make a link, you use this code: <a href="http://htmltips.blogspot.com">Link</a> The link will look like this: Link Also, you may want to look at the tips about images on this site.
Also, to make new lines, look at this tip. NOTE: Some tips may need to go between the <head> and </head> . For example, all tips which use meta go in the head.