The Earth School

 
  • Increase font size
  • Default font size
  • Decrease font size
Home User How to Submit How to Write Code
How to write code

How to write code

E-mail Print PDF

It is easy to publish on the web. What may not be so obvious at first, however, is that there are invisible codes that make the web page look the way it does. Lets learn these codes, as there are only a handful of them, and use them in creating our next web page.

The first code that you should use is the code that makes paragraphs. This is easy to use! Just put a

at the beginning of every paragraph, and when you finish the paragraph, put in

. This tells the computer that everything between these two codes is a paragraph.

It is just as easy to create a bold headline such as this, instead of

use

and close it with

A less bold headline goes like this:

and close it with

And an even smaller headline uses

and close it with

You get the idea:

and close it with

Now everyone can write small bold paragraphs, just use
and close it with

Say you want to make only a word bold? This is done by placing for Emphasis before the word and after the word. To give you an idea of what this page looks like using code, here it is as a picture.

The Code from this Web Page If you wish to explore writing with code further, and practicing as well, look up the excellent W3 School HTML and CSS tutorials
Last Updated ( Friday, 26 September 2008 09:56 )