Unit 1 Notes
Unit 1 Notes
Palak Shandil
(Assistant Professor)
UNIT1
Introduction to Web Development
Web development involves creating and maintaining websites. It encompasses everything from
building simple static pages to complex web applications. The field generally includes:
1. Frontend Development: The part of web development that deals with the visual aspects
of a website that user interacts with directly. Technologies include HTML, CSs, and
JavaScript.
2. Backend Development: This involves server-side logic, databases, and application
integration. Common languages include PHP, Python, Ruby, and Node.js.
3. FullStack Development: This combines both frontend and backend development skills.
4. Web Design: Although not strictly coding, web design involves the aesthetics and
usability of a website, focusing on user experience (UX) and user interface (UI).
1969: ARPANET-The first successful message sent between UCLA and Stanford
Research Institute. This is considered the birth of the internet.
1972: R:ay Tomlinson introduces email and chooses the "@" symbol to separate
usernames from computer names.
1973: Vint Cerf and Bob Kahn develop TCP/IP protocols, which become the standard
for internet communication.
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
1974: The term "Internet" appears in apaper by Cerf and Kahn, describing their protocol
suite.
Purpose: Used for transferring files between a client and server on a network. It allows
users to upload or download files from servers.
Versions: Includes various extensions and secure versions like FTPS (FTP Secure) and
SFTP (SSH File Transfer Protocol).
SMTP (Simple MailTransfer Protocol):
Purpose: Governs the sending of email messages between servers. It's used to relay
outgoing emails from the client to the server or between servers.
Use: Often uscd with IMAP or POP3 for receiving emails.
IMAP (Internet Message Access Protocol):
Purpose: Used by email clients to retrieve messages from a server. Unlike POP3, IMAP
allows multiple devices to access the same mailbox and keeps messages on the server.
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
Versions: IMAP4 is the most commonly used version.
POP3 (Post OfficeProtocol 3):
Purpose: Also used to retrieve emails from a server, but unlike
downloads emails to the client's device and removes them from IMAP,
the
it typically
Use: ldeal for users who need offline access to server.
their emails.
DNS(Domain Name System):
Purpose: Translates domain names (like www.example.com) into IP
192.0.2.1) so that browsers can locate and load internet resources. addresses (like
Use:Essential for navigating the web by converting
machine-readable IP addresses. human-readable addresses into
TCP/IP (Transmission Control ProtocoVInternet
Protocol):
Purpose: Asuite of protocols that includes TCP and IP. TCP manages the
of data in areliable, ordered, and error-checked manner, transmission
while IP handles addressing and
routing.
Use: Fundamental for internet communication, forming the
across nctworks.
backbone of data transfer
Web Socket:
WRITING WEBPROJECTS:
1, Understand Your Audience
Identify your target audience: Consider their demographics, interests, and needs.
Use audience personas:Develop profiles that represent your ideal
content imore effectively. users to tailor your
6. Focus on Readability
Use bullet points and lists: They make information easier to scan.
Include visuals: Add images, videos, or infographics to break up text and enhance
understanding.
Ensure mobile-friendliness: Make sure your content looks good and is easy to read on
mobilc devices.
Check for errors: Look for spelling, grammar, and punctuation mistakes.
Review for clarity: Ensure your content is casy to understand and flows well.
Get feedlback: Have someone else read your content to catch errors you might have
missed and to provide a fresh perspective.
8. Monitor and Update
Track performance: Use analytics tools to monitor how your content is performing
(e.g., pageviews, bounce rates, conversions).
Update regularly: Refresh your content periodically to keep it relevant and accurate.
9. Engage with Your Audience
Encourage interaction: Ask questions or prompt discussions in your content.
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
Respond tocomments: Engage with your readers through
build a comnity. comments or social media to
CONNECTING TO INTERNET
AND TOOLS
AND INTRODUCTION TO INTERNET SERVICES
Connecting to the lnternet
1. Choosing an lnternet Service Provider (ISP):
ISPs offer various types of connections including DSL, cable,
satellite, and more. The choice often depends on your location fiber-optic,
and needs.
2. Setting Up Your Connection:
o Wired Connection: Involves plugging an
router.
Ethernet cable into your computer and
Wireless Connection (Wi-Fi): Connects through radio signals. You'llneed a Wi
Firouter and a wireless network adapter in your device.
3. Configuring Your Network:
Router Setup: You'lltypically access the router's settings through a
using an IP address provided in the router's manual. This is where youweb browser
your network name (SSID), password, and security settings. configure
4. Connecting Devices:
On your device, search for available Wi-Fi networks, select your network, and
enter the password.
Introduction to Internet Services and Tools
1. Web Browsers:
o Function:Browsers like Google Chrome, Mozilla Firefox, Safari, and Microsoft
Edge allow you to access websites.
Features: Bookmarks, extensions, incognito mode, etc.
2. Search Engines:
Function: Search engines like Google, Bing, and Yahoo help you find
information on the web by indexing billions of web pages.
o Tips: Use specific keywords, phrases, and operators (like quotes for exact
matches) to refine your search.
3. EmailServices:
Providers: Gmail, Outlook, Yahoo Mail, etc.
Features: Sending/receiving emails, attachments, folders for organization, spam
filters.
4. Cloud Storage:
o Providers: Google Drive, Dropbox, OneDrive, etc.
Function: Store and access files from anywhere, share files with others, and
collaborate on documents.
5. Social Media:
P'latforms: Facebook, Twitter, Instagram, LinkedIn, etc.
WEB TECHNOLOGY NOTES
Palak Shandil
o (Assistant Professor)
Function: Connect with friends, share updates, photos, and videos, and
various communities. engage in
6. Productivity Tools:
o Olice Suites: Google
Workspace (Docs, Sheets), Microsoft Office (Word,
Exce),etc.
Project Mlanagement: Tools like Trello, Asana, and Slack help manage tasks
collaborate with teams. and
7. Streanming Services:
o Video: Netflix, YouTube, Hulu.
o Music: Spotify,Apple Music, Amazon Music.
8. Security Tools:
o Antivirus Software: Protects your device from
malware and other threats.
VPNs (Virtual Private Networks): Enhance privacy by masking your IP address
and encrypting your internet connection.
9. Online Shopping:
Platforms: Amazon, eBay, and various retailer websites.
Features: Browsing products, making purchases, tracking orders.
10. Online Learning:
Platforms: Coursera, Udemy, Khan Academy, and others offer a variety of
courses and learning materials.
Request
Phne-PT
L
PC-PT
E
Sorver-pT
Laptop
PT
Server
Network
Respone
2. Basic Components:
Client: The client is typically a device or software application that requests resources or
services. For example, a web browser is a client that requests web pages from a server.
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
Server: The server is asystem or application that provides resources or
clients. Serverscan host web pages, manage databases, handle email, andservices to
Network: This is the communication pathway that connects clients and more.
the internet, a local area network (LAN), or a wide arca servers, such as
network (WAN).
How the Browser Interacts With the Servers?
There are a few steps to follow to interacts with the servers of a
User enters the URL(Uniform Resource Locator) of the website orclient.
file. The Browser then
requests the DNSDOMAIN NAME SYSTEM) Server.
DNSServer lookup for the address of the WEBServer.
The DNS Server responds with the IP address of the WEB
Server.
The Browser sends over an HTTP/HTTPS request to the
the DNS server). WEB Server's IP (provided by
The Server sends over the necessary files for the website.
The Browser then renders the files and the website is
with the help of DOM (Document Object Model) displayed. This rendering is done
Engine collectively known as the JIT or (Just in Time) interpreter,
Compilers.
CSS interpreter, and JS
6. Challenges:
</body>
</html>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</trs
<tr>
Example
table, th, td {
border: 1px solid black;
Example
table, th, td {
border: 1px solid black;
border- collapse: collapse;
Example
table, th, td {
border: 1px solid black;
border-radius: 10px;
Skip the border around the table by leaving out table from
the css selector:
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
Example
th, td {
border: 1px solid black;
border-radius: 10px;
BORDER-STYLE
ridge
inset
outset
none
" hidden
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
Example
th, td {
border- style: dotted;
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>]ackson</td>
<td>94</td>
</tr>
</table>
th, td {
padding : 15px;
}
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
th, td {
padding-top: 10px;
padding-bottom: 20px;
padding-left: 3Opx;
padding-right: 40px;
FIESTA
<th colspan="2">Name</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>43</td>
</tr
<tr>
<td>Eve</td>
<td>]ackson</td>
<td>57</td>
</tr>
</table >
<th>Name</th>
<td>]illk/td>
</tr>
<tr>
<th rowspan="2">Phone</th>
<td>555-1234</td>
</tr>
<tr>
<td>555-8745</td>
</tr>
</table>
HTML Lists
Value Description
disc Sets the list item mnarker to a bullet
(default)
circle Sets the list item marker to a
circle
Square Sets the list item marker to a
square
none The list itemms will not be
marked
WEB TECHNOLOGY NOTES
Palak Shandil
(Assistant Professor)
<ul style="list-style-type:circle;"> o Coffee
<li>Coffee</liy o Tea
o Milk
<li>Tea</li
<li>Milk</li>
</ul>
Type Description
Description Lists
<dl> Coffee
<dtsCoffee</dt> -black hot drink
Milk
<dd>- bl ack hot drink</dd> - white cold drink
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
</style> Paris
<fhead
(body> Paxs s te cupial of Frce
<diy class="ity">
ch2>landonK/n)
Erglard. (/D>
(plondan is the capits! cf
</divs
<diy class="city">
TokyoD
ch2Paris/h2>
of france.<{p)
(oParis is the caçitsl
/div>
HTMLid Attribute
<!DOCTYPE htrl>
The id Attribute
chtel>
<head> Use CSS to style an elenent wih he id "myHeader:
<style>
tayHeader{
background-color: líghtblue;
color: black;
padding: 4epu;
text-al1gn: center; My Header
)
</style>
<fhead>
<body>
<h2>The id Attribute</n2>
with the id yteader": </o>
(oWse CSS to style an elenent
ch1 ide'Heacer">y Hesder</hl>
<fbody>
<fhtal>