Thursday, August 21, 2014

Exercise 1 – Basic HTML Text Formatting

Exercise 1 – Basic HTML Text Formatting

  1. Open Notepad and create a Web page called “FormattingText.htm” and save it in your HTML folder.  In the <TITLE> tag add “Basic HTML text formatting”.  Be sure to include all the proper opening and closing HTML tags that a Web page requires.
  2. Inside the opening and closing <BODY> tags insert the following code:

<HR>
<P align="center">
<FONT face="Arial" size="6"><B><U>Why I Love America</U></B></FONT>
<P>
<FONT size="+1""> I love America because it is one of the only countries in the world where we are free to <I>go anywhere</I> we want, <I>say anything </I>we want to say and <I>do anything </I>we want to do for a living, <U>as long as it is legal</U>.
<P>
In America <b><I>anyone</I></B> is able to become successful and even rich, if they are willing to work hard enough for it.  Our destiny is not controlled by an elite few or by class, religion or ethnic background.
<P align="right"> (Type your name here) <SUB>Student</SUB>
<HR>

Make sure you save your file periodically as you put in your code to make sure all your code is saved.  You will also need to make sure the file has been saved before displaying it in a browser.

  1. Open the file in Internet Explorer.  (Do not close Internet Explorer after you view the file.)  The file should look like this:

  1. If the file does not display correctly, go back to your Notepad file and check that all code has been properly typed.  Make any corrections you find.  After making corrections, resave the file and go back and refresh your browser by either clicking on the “refresh” icon or going to View – Refresh in the menu bar.  Keep repeating this process until your page displays properly in Internet explorer. 


0 comments:

Post a Comment