HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 21. WORKING OFFLINE 224


This is Don's webpage.
This is more of Don's webpage.


Feel free to type whatever words you want, but make two lines.


Now visit it. Use “open with” and select your browser.


When you arrive at your webpage, the words you wrote are presented.


Also notice the “navigation bar” where the browser tells you the URL of the
webpage you are viewing. Because you are local it will say something ...


like this:file:///xx/xx/xx/iwdd/index.html


or this:file:///C:/Users/.../Desktop/iwdd/index.html


If you were online, it would look more like this:


http://xx/xx/xx/iwdd/index.html


21.6 Simple Markup


In HTML mode, we can start adding hyper-text markup.


Markup looks likewhere the<(open bracket, or “less than”)
identifies the start of the markup, and the>(close bracket, or “greater
than”) identifies the end of the markup, and the things in between specify
what the markup is supposed to do.


Edit your file. Add some markup. Then save your file. Follow this example,
but feel free to use your own words.


This is Don's webpage.


This is normal text.
This is bold text.
This is normal text.
This is italic text.
This is normal text.

That’s an h-one on the first line, not an h-el.

Free download pdf