Professional Documents
Culture Documents
Lovely Professional University: Assighment On Web Programming
Lovely Professional University: Assighment On Web Programming
Lovely Professional University: Assighment On Web Programming
ASSIGHMENT ON
WEB PROGRAMMING
ASSIGNMENT NO 1
Q1: Which is the best method of Internet connectivity with respect to reliability? Justify your answer.
Answer
Satellite internet connection is a latest method of broadband access, ideal for areas where land-based
internet access is not feasible (such as boats). Though expensive, it happens to be the only way of
getting internet access at comparable speeds in rural areas. To have satellite Internet access, all you
need is a clear view of the southern sky. Good satellite Internet reception depends upon
unobstructed line of vision to the south. Therefore, your residing area makes a significant
difference while choosing a high speed Internet service.
When considering only high-speed satellite Internet access as your connection choice, you need to
compare different service providers and educate yourselves on the possible advantages and
disadvantages.
Advantage
When it comes to selecting the best satellite Internet service, you have to strike a balance between:
• Total expenditure for your connection
• Preferred speed of your connection
• Reliability and stability of your connection.
Q2: What is the need of protocol? In which situation we prefer FTP over HTTP? Give support your
answer.
FrontPage, for example, uses FrontPage Extensions; however, these must also to be supported by the
server, which is not always the case.
Uploading Web Pages -The Process
• When we upload (publish ) a Web page we simply copy the file from a folder on our local
computer to a folder on a computer on the Internet. Our Website is simply a folder containing
files (see website layout). You can upload the pages individually or the entire folder and its
contents can be uploaded in one go.
• Normally when you first create a website, all of the files in the local folder are uploaded to the
Internet server. Subsequent updates are done by uploading individual files/pages to either
replace existing ones or to add to the site content.
Q5: Comment on the statement that Logical formatting tags are always preferred over Physical
formatting tags for use in web pages.
Answer
there are two different way to provide the style to information which the web content is describe
Physical formatting tags
HTML provides two general ways to apply formatting to text. The first group of formatting tags is
collectively known as physical markup tags. This type of tag gets its name because it indicates a
specific change in appearance. Bold and italic tags, for example, are known as physical markup
tags because they directly specify how the text should appear on screen.
Example
• To create strike-through text, which is text with a single horizontal line running through it, use
the <STRIKE> and </STRIKE> tags.
• To create bold text, insert <B> and </B> tags. Any text falling between these two tags will
appear in boldface type.
• Logical formatting tags
On the previous page, you learned how to specify the appearance of text using physical markup
tags. However, there is a second method for formatting text-through the use of logical markup tags,
sometimes known as information style elements.
Logical tags take the approach that what's really important is the type of information being
displayed, rather than exactly how it is displayed. Logical tags leave the actual appearance decisions-
such as whether to display text in boldface, italics, or larger sizes-up to the browser (and ultimately the
reader).
Example
• If a particular section of text is very important, you can mark it with strong emphasis by
using the <STRONG> and </STRONG> tag pair. Most browsers tend to display strongly
emphasized text in boldface.
• The <CODE> and </CODE> tags indicate that the text is to be presented as an example of
programming code. In most browsers, this text will be displayed in a monospaced font, such
as Courier. The <CODE> tags are used extensively in interactive computer manuals.
Q6: Formulate a HTML code to list the items in the menu card of a restaurant. Use appropriate
assumptions and also make use of various Tags and Attributes available?
Answer
<html>
<head>
<title>
home restorent</title>
</head>
<body background="C:\Users\sunny\Documents\fun arena\WALLPAPER\MERE
APNE\101NIKON\DSCN0906.JPG">
<p align="center">
<font face="algerian" size="50" color="white"><I>WELCOME TO PIZZA HUT </i></font>
<marquee direction="right" ><font color="red">---------->JUST LIKE HOME</font></marquee>
<font face="times new roman" color="white"> ITEM ARENA <font>
<ol>
<ul type="circle">
<li>non whege
<ol>
<li>CHIKAN TANDOORI
<li>kabaab
<li>chikan kari
<li>chikan soop
<li>biryaani
</ol>
<li>whege
<ol>
<li>shaahi paneer
<li> medu baraa
<li>tandoori roti
<li>chitti chola
</ol>
<li>cold storage
<ol>
<li>coke
<li>DUE
<li>pepsi
<li>thums up
<li>sprite
</ol>
</ul>
<ol>
</body>
<html>
=========================================================================