Lets add some more information about Hector to his page and then print the source code. It is easy to add blank lines and new paragraphs and headings. Printing may not produce quite what you expected!
Your text editor will have choices for how a printed page will look - margins, page orientation, probably a header and footer. The illustration is for Notepad, with the default settings under Windows 7. Don't forget that Notepad remembers the settings and will use them for the next document you create.
The codes that work in the text boxes for Header and Footer in Notepad may not work in other editors.
|What you will learn:||to add Heading 3
to add paragraph text
to open and change Page Setup
to print source code from Notepad
Start with: , hector4-Lastname-Firstname.htm, Notepad
Don't forget to remove the period of the end of the sentence.
This makes the line a Heading 3 instead of a simple paragraph.
Open a browser and view the new page.
where you must replace G with the letter of your Class disk and 'Lastname-Firstname' with your own name, of course.
The formatting of the whole line changes.
The text will wrap differently in your browser unless the window size is exactly the same as the window used for the illustration.
Next you will add some information above the My Hobbies line. Do you have Word Wrap on or off? What you type will probably not wrap the same as what you see on this page.
<p>I am a travel agent for World Travel in Buenos Aires, Argentina. I spend my work day talking to people about where they want to go and trying to get them the best prices on their tickets and hotel rooms.</p>
<p>I also write and edit our email newsletter Here and There, which keeps our customers informed about special deals and news in the travel industry. </p>
<p>I grew up in Buenos Aires and went to public school. I studied business at the Universidad de Buenos Aires and graduated 12 years ago. In my job as a travel agent I have really needed the history and geography that I learned (or should have learned) in school - even though I was not interested at the time!</p>
<p>I married my beautiful Carla 11 years ago. We have two children - Ricardo who is 10 years old (our soccer star!) and Rosa who is 7 years old (our ballerina).</p>
Refresh the browser window.
[Press the F5 key]
Now your window shows the new text.
Color-coding: If you have a color printer, you might want to print the source code from here instead of from Notepad sometimes.
The settings in this dialog apply to all pages printed from Notepad. Remember to check the settings before printing.
Notepad remembers: The changes you made to Page Setup will apply the next time you print a page from Notepad! Earlier versions of Notepad forgot your changes once Notepad was closed. Not any more!
Notepad does not have a Print Preview feature. So sad!
More wrapping: The new margins make more lines
wrap. This is not like what you are used to seeing in Word! Notepad
was written for programming code where a line break can mean