Title: CS101 Introduction to Computing Lecture 6 Developing
1CS101 Introduction to ComputingLecture
6Developing Hosting a Web Page (Web
Development Lecture 2)
2Today is our 2nd Web Dev lecture During our 1st
lecture about the Web
- We answered various questions about the Web.
- How it works, How it is structured, etc.
- We also commented about the future shape of the
Web the Semantic Web, and how it is different
from the Web of today. - Todays Web is targeted squarely at us, humans.
Whereas, the Semantic Web is being constructed in
such a way that it is easily understandable for
the computers
3Learning Goals for Today
- To develop your personal Web page
- To upload your Web page to VUs Web server so
that it becomes visible on the Internet as
http//www.vu.edu.pk/xxxxxxxx/ - where xxxxxxxx is your user ID
4But first How I developed my personal Web
pageand made it available over the Internet
through the URLhttp//www.vu.edu.pk/altaf
5page title
URL
link
6HTML
Hyper Text Markup Language
7- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
HTML Code
8- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
1
HTML Code
2
3
4
The ones in yellow, i.e. ltHTMLgt, lt/HTMLgt,
ltHEADgt, lt/HEADgt, ltBODYgt, lt/BODYgt are the six
essential HTML tags, required in all Web pages
5
6
9- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
10- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
11- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
12- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
Description of the link
13- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
URL of the link
14- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
15- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
16- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
17- ltHTMLgt
- ltHEADgt
- ltTITLEgtAltaf Khan's Home Pagelt/TITLEgt
- lt/HEADgt
- ltBODYgt
- ltH1gtAltaf Khanlt/H1gt
- ltPgtltBgtAdjunct Lecturer in Computer
Sciencelt/BgtltBRgt - ltA HREF"http//www.vu.edu.pk/"gtVirtual
Universitylt/AgtltBRgt - Building 1, 3rd Floor, Aiwan-e-Iqbal, LahoreltBRgt
- 92 42 555 1212ltBRgt
- ltA HREF"mailtoaltaf_at_vu.edu.pk"gtaltaf_at_vu.edu.pklt/
AgtltBRgtlt/Pgt - ltPgtI teach the ltA HREF"http//www.vu.edu.pk/cs101
/"gtIntroduction to Computinglt/Agt course. lt/Pgt - lt/BODYgt
18This HTML document was developed in a plain-text
editor called notepad
19(No Transcript)
20After typing the code into notepad, I saved it as
index.html To check if I have done everything
right, I double clicked on icon of the saved file
index.html Double clicking on the icon launched
the Web browser displaying my index.html
21My Web page is done!
22Problem!
My Web page is visible only on my computer. It
would be nice if it was also visible on the
computers of all my friends and relatives as
well.
23Solution!
I need to upload my Web page to a Web server that
is connected to the Internet As a result, my Web
page will become accessible to anyone with a
computer hooked up to the Internet
24Upload Process
I went to the Web server upload page on the VU
Intranet and uploaded my Web page to my account
on the VU Web server
25(No Transcript)
26Eureka!
27My Web page is now accessible from all of the
millions of computers connected to the Internet
28http//www.vu.edu.pk/altaf/index.html
http//www.vu.edu.pk/altaf
29Enough about mine Here is how you can develop
your personal Web page and make it available on
the Internet as http//www.vu.edu.pk/xxxxxxxx
30Developing Your Own Web Page Step 1 Open
notepad, type in the HTML code, and save it as
index.html on your PCs desktop
31Developing Your Own Web Page Step 2 Log on to
the VU Intranet and upload that index.html from
your PCs Desktop to your account on VUs Web
server
32That is it! Your Web page is now accessible on
the Internet through the URL http//www.vu.edu.pk
/xxxxxxxx where xxxxxxxx is your user ID
33Before we finish for the day, a brief review of
the HTML tags
34ltHTMLgt lt/HTMLgt
35HTML tags that go in the HEAD portion of a Web
page
36ltHEADgt lt/HEADgt
37ltTITLEgt lt/TITLEgt
38HTML tags that go in the BODY portion of a Web
page
39ltBODYgt lt/BODYgt
40ltPgt lt/Pgt Paragraph
41ltBRgt Line break
42ltBgt lt/Bgt Bold text
43ltA HREF action gt label lt/Agt Anchor (Anchors
are used to embed links in a Web page)
44ltA HREF action gt label lt/Agt
- http//
- Displays the Web page specified by the link
- example http//www.vu.edu.pk
- mailto
- Sends an e-mail to the specified address
- example mailtoaltaf_at_vu.edu.pk
45ltA HREF action gt label lt/Agt
- label can be any text string
46HTML Code
- I am at the
- ltA HREFhttp//www.vu.edu.pkgtVirtual
Universitylt/Agt. You can send me an e-mail by
clicking - ltA HREFmailtobhola_at_vu.edu.pkgtherelt/Agt.
Browser Display
I am at the Virtual University. You can send me
an e-mail by clicking here.
47End of HTML tag review
48What have we learned today?
- We now know how Web pages are built using HTML
- We also know how to make our personal Web pages
available to everyone on the Internet
49Useful URLs
- HTML for the Conceptually Challenged
- http//www.arachnoid.com/lutusp/html_tutor.html
- NCSAs Beginner's Guide to HTML
- http//archive.ncsa.uiuc.edu/General/Internet/WWW/
HTMLPrimerAll.html
50Homework Assignment
- Develop your own home page. It should be
accessible as http//www.vu.edu.pk/xxxxxxxx
(xxxxxxxx is your user ID) - Among other things, it should contain
- At least one link to http//www.vu.edu.pk/altaf
- Your (clickable) email address
- A paragraph (50-100 words) on what you see
yourself doing 10 years from now - Consult your syllabus for the submission deadline
for this assignment
51Todays was our 2nd Web Dev lecture
- In the 3rd Web Dev lecture well learn about
adding Lists Tables to your Web page