Professional Documents
Culture Documents
Tle Ict+9+Wk7+Module+q3
Tle Ict+9+Wk7+Module+q3
Tle Ict+9+Wk7+Module+q3
Week 7
Text Formatting Tags
The following HTML tags are used to format the appearance of the text on your web page. This can jazz
up the look of the web page, however, too much variety in the text formatting can also look displeasing.
There are 6 levels of headings available, from h1 for the largest and most important heading, down
to h6 for the smallest heading.
The text in between the tags will be bold, and stand out against text around it, the same as in a word
processor.
Also working the same way as a word processor, italics displays the text at a slight angle.
Again, the same as underline in a word processor. Note that html links are already underlined and don't
need the extra tag.
Puts a line right through the centre of the text, crossing it out. Often used to show that text is old and no
longer relevant. Also works by using <s> </s> instead.
Any text between the pre tags, including spaces, carriage returns and punctuation, will appear in the
browser as it would in a text editor (normally browsers ignore multiple spaces)
Text is displayed in a fixed-width font, commonly used when showing source code.
Defines a long quotation, and the quote is displayed with an extra wide margin on the left hand side of
the block quote.
Change the colour of a few words or a section of text. The 6 question marks represent the hex color
code, see this list of colours and codes for some samples. (*)
Replace the ? with a number from 1 to 7 to change the size of the font. One being the smallest and
seven the largest. (*)
For an immediate change of font size with respect to the font size preceding it, this tag increase or
decreases the size of the font by the number you specify. Eg: <font size="-1">Some Text</font> (*)
To show text in a particular font, use the font name such "Helvetica" or "Arial" or "Courier". Be aware
that using some fancy font from your computer means that the person viewing that page must also have
that font installed on their computer too, otherwise it will look totally different to them. (*)
A useful tag, as it says, it makes everything in between the tags centred (in the middle of the page). (*)
Used to emphasize text, which usually appears in italics, but can vary according to your browser.
Used to emphasize text more, which usually appears in bold, but can vary according to your browser.
Used to format text as subscript, a smaller font below the regular font.
Used to format text as superscript, a smaller font above the regular font.
Tags marked with (*) should still work, but have been superseded by Cascading Style Sheets (CSS), which
is now the recommended way to change the font, colour, spacing, border or alignment of HTML
elements.
Activity 1
Enter these codes. Take a picture, screenshot of both notepad and webpage. These are some application
of the formatting tags we have discussed earlier.
Program 1
<html>
<head>
</head>
<body>
<section>
<article>
<p> We are continually amazed at the <b> beautiful</b> and<br> <i>lovely</i> that can be found in
the <strong> CLIPART</strong><br>folder of <u> Microsoft office 2010. </u> They are so very <br>
attractive that we cannot resist putting them right in<br> to this webpage. They are what the girls
want to <br><em> receive.</em>
</p>
</article>
</footer>
</section>
</body>
</html>
<html>
<head>
</head>
<body>
<section>
<article>
<p> E=mc <sup>2</sup> is the famous equation formulated by Albert Einstein </p>
</p>
Got it?
</article>
</section>
</body>
</html>
Design and develop an HTML script having this information inside the webpage. Use the necessary tags
to come up with this output. Have a screen shot or picture of both notepad and webage.
Environmental Effects
One of the greatest problems that the world is facing today is that of environmental pollution.
Environmental Effects consists of five basic types of pollution air, water, soil, noise and light.
Environmental pollution is the contamination of the physical and biological components of the
earth to such an extent that normal environmental processes are adversely affected.
Mercury in the air may settle into water bodies and affect water quality. This airborne mercury
can fall to the ground in raindrops, in dust, or simply due to gravity (known as “air deposition”).
After the mercury falls, it can end up in streams, lakes, or estuaries, where it can be transferred
to methylmercury through microbial activity. Methylmercury accumulates in fish at levels that
may harm the fish and the other animals that eat them. Mercury deposition in a given area
depends on mercury emitted from local, regional, national, and international sources.
A nation that destroys its soils destroys itself. Forests are the lungs of our land, purifying the
air and giving fresh strength to our people. ― Franklin D. Roosevelt