HTML HyperText Markup Language
Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program for changing text files HTML is a text file that is written in a special language for talking to web browsers
NotePad - a simple text editor Menu path to find NotePad Menus are trees too! –Start->Programs->Accessories->NotePad
HTML in NotePad and are called tags –Anything inside of in HTML is a tag –Tags are instructions about the text for the browser
Publishing Web Pages NotePad my first web page Web Browser Computer Disk Web Server Internet
Publishing Web pages NotePad my first web page Web Browser myPage.html Web Server Internet Save my first web page
Special Problems with NotePad Wants to store files as myPage.txt not myPage.html
Special Problems with NotePad Wants to store files as myPage.txt not myPage.html
Special Problems with NotePad
Publishing Web pages NotePad my first web page Web Browser myPage.html Web Server Internet Save my first web page
Publishing Web pages NotePad my first web page Web Browser myPage.html Web Server Internet Save my first web page GET my first web page
Web pages on one computer NotePad my first web page Web Browser myPage.html Save my first web page myPage.html my first web page Open Page
NotePad / Web Browser Demo
Bold text NotePad my first web page Web Browser myPage.html Save my first web page myPage.html Open Page my first web page
Bold Demo
Why didn’t bold appear? NotePad my first web page Web Browser myPage.html Save my first web page myPage.html Open Page my first web page
Do Save NotePad my first web page Web Browser myPage.html Save myPage.html Open Page my first web page my first web page
Save Demo
It Still Didn’t Appear NotePad my first web page Web Browser myPage.html Save myPage.html my first web page my first web page Open Page
Reload NotePad my first web page Web Browser myPage.html Save myPage.html my first web page my first web page Reload
Multiple Lines NotePad my first web page Web Browser myPage.html Save myPage.html my first web page my first web page Reload
Multiple Lines Demo Web browsers arrange lines according to the width of the window, not the lines in the HTML file
Other formatting tags make a new paragraph italic unordered list – list item
paragraph
italic
lists
- adding images – –If the image file is in the same folder as the html file – Demo
- anchor Used to create hyperlinks text for the link –Linked file must be in the same folder Demo
Hyperlink Example
Image Hyperlink Example
Review HTML is just text with special tags link text
Publishing Web pages NotePad my first web page Netscape myPage.html Web Server Internet Save my first web page
Web pages on one computer NotePad my first web page Netscape myPage.html Save my first web page myPage.html my first web page Open Page / Reload