30.06.2013 Views

1What is online journalism? - Ayo Menulis FISIP UAJY

1What is online journalism? - Ayo Menulis FISIP UAJY

1What is online journalism? - Ayo Menulis FISIP UAJY

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

156 Journal<strong>is</strong>m Online<br />

The and tags at the beginning and end<br />

denote the start and end of the HTML content of the file.<br />

The tags indicate the header section of the file. They<br />

contain information that needs to be loaded first, such as the title<br />

(very important) and any META information.<br />

The tags denote the content part of the file. Th<strong>is</strong> <strong>is</strong><br />

where most of your text and code will go. In general, anything you<br />

want to be d<strong>is</strong>played should be placed between the <br />

tags.<br />

Adding comments to your code<br />

As you complete these exerc<strong>is</strong>es, you will create files to refer to<br />

later as a guide to the various tags to use. Adding comments <strong>is</strong><br />

essential to help you understand what you have written. Th<strong>is</strong> <strong>is</strong><br />

done by using the following:<br />

<br />

Exerc<strong>is</strong>e 3 – changing the look of text<br />

You can create web pages by using the simple template from<br />

Exerc<strong>is</strong>e 2 above, but they will not be very interesting to look at.<br />

However, you can change the appearance of the text on screen by<br />

using some simple tags to give some variety.<br />

In Notepad, load Template.htm and type the following.<br />

<br />

<br />

Different styles of text<br />

<br />

<br />

Th<strong>is</strong> <strong>is</strong> bold<br />

but th<strong>is</strong><br />

<strong>is</strong> emphasized which <strong>is</strong> the same as<br />

italics.<br />

Th<strong>is</strong> may look like bold but its a different tag.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!