Stage 9: Introducing HTML
HTML enables you to have better control over the appearance of a page, and include extras such as images and hypertext links.
Go to your home page, click the title (e.g Welcome) and click the edit tab.
Scroll down the page until you can click the Input Format link.
Here you are provided with three options that determine how Drupal treats text. They are Filtered HTML, PHP and Full HTML.
Please select Full HTML, so that Drupal will act on HTML tags that you are about to add to your text.
Now go to the bottom of your edited welcome page and click "Submit".
Now that your home page can display HTML code, by editing the home page body text, experiment with these commands..
|
Description
|
HTML Code
|
Result
|
| Bold text |
<b>xxxxx</b>
|
xxxxx
|
| Largest Heading |
<h1>XXXXX</h1>
|
xxxxx |
| Smaller Heading |
<h2>xxxxx</h2>
|
xxxx |
| Link to cnn |
<a href=http://www.cnn.com>cnn</a>
|
(Where you see xxxxx, enter a word or group of words of your own choosing.)
Please use all of these commands at some stage in your home page to demonstrate use of HTML.
For the next task, please click HERE