Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

HTML 4_01 Weekend Crash Course - G. Perry

.pdf
Скачиваний:
34
Добавлен:
24.05.2014
Размер:
6.32 Mб
Скачать

Contents

Acknowledgments................................................................................................

xvii

FRIDAY ..................................................................................................................

2

Part I – Friday Evening .....................................................................................

4

Session 1–HTML and the Web .................................................................................

5

Become an HTML Programmer! .........................................................................

6

What Exactly Is HTML? .....................................................................................

7

HTML’s background ........................................................................................

8

HTML tags format data ...................................................................................

9

Text Editors and Other Programs.....................................................................

12

Session 2–HTML for Web Page Creation................................................................

17

Creating a Web Page .......................................................................................

17

Minimum HTML ...........................................................................................

18

Viewing your page........................................................................................

20

Adding Formatting Command Tags ..................................................................

22

Head and title tags.......................................................................................

22

Break tags...................................................................................................

25

A more complete example .............................................................................

26

The Browser Determines the Language............................................................

28

Session 3–Web Page Design..................................................................................

31

Considering Your Environment .......................................................................

32

What’s an HTML programmer to do? ...............................................................

33

A world without images ................................................................................

34

Validating Your Page ......................................................................................

35

Initial Design Considerations..........................................................................

36

Web structures.............................................................................................

37

The Web page design walkthrough .................................................................

38

Publishing Web Pages.....................................................................................

40

Available Free Hosts .......................................................................................

41

Session 4–Maintaining and Improving Your Web Site ..........................................

43

Success Means Constant Web Site Maintenance................................................

44

The Best Way to Organize Your Files and Folders .............................................

44

Should You Turn Your Computer into a Local Web Server?................................

45

The Ever-Changing HTML................................................................................

46

xxii

Contents

SATURDAY

Part II

Session

Text

Your

Session

Text

Session

Contents

xxiii

99

101

102

102

104

105

106

107

108

111

111

113

114

116

116

118

119

119

119

123

123

125

128

128

129

130

130

132

133

138

139

140

140

140

142

144

151

152

153

153

154

xxiv

Contents

More

Session

Session

Session

The

Session

A

Final

Contents

xxv

224

225

226

227

228

228

229

230

230

231

232

232

232

232

233

235

235

238

239

239

240

241

242

242

244

246

246

249

250

250

251

252

253

254

255

258

260

260

267

268

268

xxvi

Contents

SUNDAY

Part V–

Session

The

The

Session

Session

The

Session

The

The

The

Session

Contents

xxvii

335

336

338

339

341

344

349

349

351

354

354

356

362

363

363

368

371

377

378

380

383

383

389

390

390

391

391

400

403

404

404

405

406

407

408

413

421

425

448

452

S E S S I O N

1

HTML and the Web

Session Checklist

Learn the job of the HTML programmer

Understand what HTML is and its purpose

Recognize how text editors and other programs work to help create HTML

Do you want to become an HTML programmer? If so, you must tackle HTML (Hypertext Markup Language). Fortunately, HTML 4.01 is more powerful than the versions that came before it, as well as much simpler to learn than

typical computer programming languages such as C or Visual Basic. As this weekend crash course proves, you can go from knowing nothing about HTML to designing and producing Web pages in one short weekend.

As you will see in this session, the HTML language has gone through several improvements and each revision serves to make Web pages more interactive with the user and to present data more effectively. That data can be text, graphics, sound, video, or a combination of all four. Although today’s HTML differs quite a bit from the first version, the majority of the original language elements are still in use.

6

Friday Evening

Some people say that you don’t need HTML anymore, and that too many graphical Web page design tools exist that make HTML unnecessary. To set your mind at ease considering that you’ve now spent the money for this course, you won’t find any serious Web designer who doesn’t work with HTML almost daily. In addition, as you will soon learn, the Web would not and could not even exist without HTML.

Become an HTML Programmer!

An HTML programmer designs, produces, and maintains Web pages. As you know from surfing the Web already, most Web sites are not single Web pages but collections of pages. A Web site consists of a series of related Web pages that users traverse, backwards and forwards, in virtually any order.

The HTML programmer’s job changes almost daily. A programmer might find himself or herself performing one or more of the following HTML-related tasks daily:

Designing new Web pages for their clients who want to present information on the Web

Learning new HTML extensions, tools, and tricks that help get the Webmastering job done faster and more accurately

Maintaining existing Web sites by editing the code to correct problems and to present fresh material

The more often you put fresh material on a Web site, the more likely users are to return to the site.

Tip

Note

The term maintenance refers to the process of changing and updating existing Web sites to keep their content fresh, and correcting mistakes found in them. Those mistakes might be typical computer bugs that keep the Web site from operating exactly right or may be nothing more than a spelling mistake or a color-blending problem from a bad graphic image.

Perhaps you want to create Web pages for your company’s business. Perhaps you want to put your family news on the Internet so friends and family around the world will be able to see the news. Perhaps you want to make money — a lot