Download presentation
Presentation is loading. Please wait.
Published byMarvin Clarke Modified over 9 years ago
1
Mr. Rouda’s CSCI 101 sections
2
What does a web page consist of? Code HTML, CSS, XHTML, XML, etc. Images Gif, jpg, png, etc. Plugins Swf, flv, etc. JavaScript Jquery, etc.
3
What happens when I request a page? I type the URL “faculty.winthrop.edu/roudaj/” That machine sends me one file from the specified directory. That file is plain text, but contains special codes to tell the browser how to display the text. view source That file contains references to other files (which happen to be images), so the browser requests those files also. The browser prints everything on the screen.
4
What are Browsers? Internet Explorer (IE) Firefox Google Chrome Apple Safari
5
Retrieving a Web Page without a Browser From the Windows menu, select "run..." Type “CMD” Press “Enter” Type “telnet google.com 80” Press “Enter” Type “GET” Press “Enter” ** In Linux or Mac you can type “curl google.com” in the terminal.
6
How are web pages organized? directories/folders and files example: http://faculty.winthrop.edu/contains directories for each faculty website. My directory is “roudaj” each of those directories contain a file named default.htm which is the main page of the website…or the Home Page. ** In some servers this page can be default.XXX or index.XXX or whatever the server admin sets it as.
7
What sort of files can you put on a web site? HTML.html or.htm Text.txt PDF.pdf Images.jpg,.gif,.png, etc Sound Files.wav MS Word or PPT.docx,.doc,.ppt,.pptx – not a good idea CGI.cgi,.pl will run a program on the web server machine Scripts.asp,.php,.jsp run scripts on the “Server Side” and can query databases on the server machine. JavaScript files (.js) run on the “Client Side” to change the look of a website.
8
HTML Example One use notepad to create a file type “hi class” save as test_one.html use browser to open the file
9
Example Two HTML Tags. Hello World
10
Example Three Hello World Testing text. Make this bold
11
Hyperlinks **Note all should be in the body tags** This is a link to the file bob. link to youtube Mr. Rouda’s email
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.