CIS 525 September 6, 2000


CIS525 Lecture #1 - 09/06/2000 HTML - "lots of tools/tons of browsers" ·Plain HTML is usable in every browser, doesn't need to be Java enabled ·if you want control things -> hand-coded HTML is best HTML provides (HTML 3.2 or greater): ·Text flow around images (Like Microsoft Publisher) ·Paragraph alignment ·Tables (only sure way to format for ALL browsers) ·Clickable maps ·Explicit control over fonts HTML extensions: · .htm is for DOS · .html is for UNIX GENERIC HTML DOCUMENT <html> -> should start with this <head> -> this section is displayed with things like mouse over commands, not displayed in main browser <title> TITLE </title> -> page may not be indexed without, title should be included </head> <body> -> this section is what is displayed in main browser window </body> </html> -> should end with this STEPS TO PUBLISH HTML DOCUMENT (UNIX example): 1) create a document using text editor -notepad -pico -MS Word (better save as Text file and then save as .html file) -Can combine with many different web development applications (ex. Dream Weaver) 2) place document in web accessible location 3) verify that document is legal UNIX at UMD - use elvis or skye 1) logon and create 'public_html' (mkdir public_html) 2) permit directory and account (does not take away ability to have private files) chmod g+r,g+x,o+r,o+x . -> must have space and then period at end chmod g+r, g+x, o+r, o+x public_html 3) put files in 'public_html' skye -> default name is index.html elvis -> default name is welcome.html ls -l -> UNIX command to check read/write/others status chmod g-w, o-w test.html -> command to change permissions See Pg 14 of text for HTML validators for websites (ex. Website Garage) IMPORTANT NOTE: Windows/MS Word is NOT case sensitive while UNIX is. Keep this in mind when coding.