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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Who’s afraid of HTML? 155<br />

all but the first space. You can try th<strong>is</strong> by typing in the following<br />

and saving it as HTML1b.htm<br />

Small document <br />

Th<strong>is</strong> <strong>is</strong> a test to see what the minimum HTML<br />

code will d<strong>is</strong>play on a browser.<br />

Open the file in your browser and view the result.<br />

The text has not changed. To put in a space other than the<br />

normal gap between words, you need to indicate that you want a<br />

non-breaking space – &NBSP. There are several of these special<br />

characters in HTML.<br />

Try typing the following.<br />

Small document <br />

Th<strong>is</strong> <strong>is</strong> a test &nbsp &nbsp &nbsp to see what the<br />

minimum HTML code will d<strong>is</strong>play on a browser.<br />

Save it as HTML2.htm and view the result.<br />

Exerc<strong>is</strong>e 2 – an HTML template<br />

In Exerc<strong>is</strong>e 1 we saw just how little coding was needed to get a<br />

page to d<strong>is</strong>play. However, there <strong>is</strong> usually a set layout for an<br />

HTML file. The following HTML <strong>is</strong> the bare minimum that should<br />

be included in any file you create.<br />

In Notepad, type the following and save it as Template.htm<br />

<br />

<br />

Your title here <br />

<br />

<br />

Type your text here<br />

<br />

<br />

By saving th<strong>is</strong> as a template file, you can create files quickly<br />

without having to type the basic tags from scratch every time.

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

Saved successfully!

Ooh no, something went wrong!