Page 194 - Web Applications (803) Class 11
P. 194
Example:
<html>
<head>
<title>CSS Images</title>
</head>
<body>
<h1 style="color: green">Working with Images in CSS</h1>
<img style="border:3px solid red;" src="smiley.jpg">
<br> <br>
<img style="border:7px dashed blue;" src="flower.jpg">
</body>
</html>
2.23 DOMAIN NAME SYSTEM (DNS)
The Domain Name System (DNS), which allows computers to communicate with one another and send email or display
webpages, is at the heart of how the Internet works.
The DNS (Domain Name System) is a database that maps domain names to IP addresses. The hierarchical domain
namespace that we mentioned earlier is the foundation of DNS. DNS is a distributed directory that provides the
framework for a single, worldwide domain name directory. This directory is made up of tens of thousands of servers
owned by tens of thousands of companies all around the world.
DNS Services
The services provided by DNS are as follows:
ÐHost Aliasing: One or more alias names can be assigned to a host with a complicated hostname. An application can
Ð
use DNS to get the canonical hostname for a specified alias hostname as well as the host's IP address.
Ð ÐMail Server Aliasing: A mail application can use DNS to find out the hostname for an alias hostname as well as the
IP address of the host.
Ð ÐLoad Distribution: DNS is also used to distribute load among duplicated servers.
192 Touchpad Web Applications-XI

