HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 21. WORKING OFFLINE 223


versions of Internet Explorer have improved greatly, and Microsoft is creat-
ing a whole new browser that will replace Internet Explorer.


For serious testing of your webpages, you should view them in all five of the
major browsers.


21.3 An Empty Folder


On your desktop, create an empty folder. Name it “iwdd” (which stands for
Introduction to Website Design and Development, the name of this book).


(You can actually put the folder somewhere else, assuming you know how
to get to it. And you can call it something else.)


Inside that folder we are going to create a webpage.


21.4 Text Editor


We will be working directly with webpage code. You will benefit greatly
from using a text editor.


Text editors are different from word processors. Word processors are de-
signed to make documents. Text editors only edit text. They do not handle
margins and fonts and bold and italic and underline.


Text editors just handle simple characters. But they also do very helpful
things like syntax highlighting and checking.


For all platforms (Microsoft, Apple OS X, and Linux),Komodo Edit(free)
is our current recommendation.


For Microsoft,Notepad++(free) is our alternate recommendation.


For a more detailed look with additional options, including links for down-
loading, please see Appendix 23 (page 230).


21.5 Text Plain


Create a file namedindex.html.


Use your text editor to create it and type it in. Here it is.

Free download pdf