Self-Assessed Question & Activity

 

  Use Notepad to create a new file on your hard drive. Call it 0.htm (say:  zero dot aitch tee emm). Leave the file open and ready to receive some text.

Click'n'drag your cursor over the html code, shown in red below to highlight it all.
Use Edit, Copy then Alt Tab Edit, Paste to put the text and code from below into the top of your new 0.htm file.

<html>
<head>
<title>My Home Page</title>
</head>
<body bgcolor=ffffff>

<b>CV and Personal Profile</b>
<hr>
<br>

 Save the code in your open Notepad file 0.htm
Use your web browser (Internet Explorer or Netscape) to view your new page. Then go back into the source code and add more details about yourself.

Keep re-viewing the web page every time you have made a change. You must Save the Notepad document each time. And then click on Refresh to tell your browser to fetch the amended page from the hard drive again.


Click the Refresh button on your browser to reload the amended page

.

 

Self-Assessed Question
What is the html tag that draws a single line across your web page?

Author's Suggested Response
The hard rule tag, written <hr> is useful for ruling lines to separate the sections of web pages. You can vary the width of the hard ruled line by adding a switch to the tag, like this

<hr width=40> The figure, 40, refers to the width in pixels across the screen. If you replace the figure with a percentage, like this

<hr width=40%> then the browser makes the line fill forty per cent of the width of the page. The browser will adjust this dynamically as you adjust the size of the browser window. Try it.

Adjust the size of your browser window with this corner

You can adjust the size of your browser window by click'n'dragging this shaded grey corner on the very bottom right-hand corner of the open window. Drag the corner diagonally across the screen.










« back to menu