Internet & Web Design Concepts1
Internet & Web Design Concepts1
The World Wide Web was invented by a British scientist, Tim Berners-Lee in 1989.World
Wide Web, which is also known as a Web, is a collection of websites or web pages stored in
web servers and connected to local computers through the internet. These websites contain
text pages, digital images, audios, videos, etc. Users can access the content of these sites from
any part of the world over the internet using their devices such as computers, laptops, cell
phones, etc. The WWW, along with internet, enables the retrieval and display of text and
media to your device.
The building blocks of the Web are web pages which are formatted in HTML and connected
by links called "hypertext" or hyperlinks and accessed by HTTP..
A web page is given an online address called a Uniform Resource Locator (URL). A
particular collection of web pages that belong to a specific URL is called a website, e.g.,
www.facebook.com, www.google.com
Some people use the terms 'internet' and 'World Wide Web' interchangeably. They think they
are the same thing, but it is not so. Internet is entirely different from WWW. It is a worldwide
network of devices like computers, laptops, tablets, etc. It enables users to send emails to
other users and chat with them online. For example, when you send an email or chatting with
someone online, you are using the internet.
But, when you have opened a website like google.com for information, you are using the
World Wide Web; a network of servers over the internet. You request a webpage from your
computer using a browser, and the server renders that page to your browser. Your computer
is called a client who runs a program (web browser), and asks the other computer (server) for
the information it needs.
Concept o Internet:-
The Internet is the global system of interconnected computer networks that uses the Internet protocol
suite (TCP/IP) to communicate between networks and devices. It is a network of networks that
consists of private, public, academic, business, and government networks of local to global scope,
linked by a broad array of electronic, wireless, and optical networking technologies.
Advantages
Internet allows us to communicate with the people sitting at remote locations. One can
find various social networking sites such as:
o Facebook
o Twitter
o Yahoo
o Google+
o Flickr
o Orkut
One can surf for any kind of information over the internet.
Apart from communication and source of information, internet also serves a medium
for entertainment such as Online Television, Online Games, Songs,Videos, Social
Networking Apps
Internet allows us to use many services like:-Internet Banking, Matrimonial Services,
Online Shopping, Online Ticket Booking, Online Bill Payment, Data Sharing, E-mail
etc.
Internet provides concept of electronic commerce, that allows the business deals to
be conducted on electronic systems
Disadvantage
There are always chances to loose personal information such as name, address, credit
card number..
Spamming corresponds to the unwanted e-mails in bulk. These e-mails serve no
purpose and lead to obstruction of entire system.
Virus can easily be spread to the computers connected to internet.
Also a biggest threat on internet is pornography.
There are various websites that do not provide the authenticated information. This
leads to misconception among many people.
Web Browser :- web Browser is an application software that allows us to view and
explore information on the web. User can request for any web page by just entering a URL
into address bar.
Web browser can show text, audio, video, animation and more. It is the responsibility of a
web browser to interpret text and commands contained in the web page.
Earlier the web browsers were text-based while now a days graphical-based or voice-based
web browsers are also available. Following are the most common web browser available
today:
Browser Vendor
Internet Explorer Microsoft
Google Chrome Google
Mozilla Firefox Mozilla
Netscape Navigator Netscape Communications Corp.
Opera Opera Software
Safari Apple
Internet Servers:-
Internet servers make the Internet possible. All of the machines on the Internet are either
servers or clients. The machines that provide services to other machines are servers. And the
machines that are used to connect to those services are clients. There are Web servers, e-mail
servers, FTP servers and so on serving the needs of Internet users all over the world.
Search Engines:-
Also known as a web search engine and an internet search engine, a search engine is a
(usually web-based) computer program that collects and organizes content from all over the
internet. The user enters a query composed of keywords or phrases, and the search engine
responds by providing a list of results that best match the user's query. The results can take
the form of links to websites, images, videos, or other online data.
Examples are:- Google, Bing, yahoo, Ask.com, Baidu, AOL.com, duckDuckGo etc.
Yahoo.com (http://www.Yahoo.com)
Search.com (http://search.com)
EasySearcher (http://www.easysearcher.com)
AltaVista (http://www.altavista.com)
Excite (http://www.excite.com)
Google (http://www.google.com)
Hotbot (http://www.hotbot.com)
Infoseek (http://www.infoseek.com)
Lycos (http://www.lycos.com)
WebCrawler (http://www.webcrawler.com)
In simple terms, a Domain Name System (DNS) is a collection of databases that translate
hostnames to IP addresses.
DNS is often referred to as the internet's phone book because it converts easy-to-remember
hostnames like www.google.com, to IP addresses like 216.58.217.46.
Without DNS (and especially search engines like Google), navigating the internet wouldn't be
easy since we'd have to enter the IP address of each website we want to visit.
Domain Name System helps to resolve the host name to an address. It uses a hierarchical
naming scheme and distributed database of IP addresses and associated names
IP Address:-IP address is a unique logical address assigned to a machine over the network.
IP address is the unique address assigned to each host present on Internet. IP address is 32
bits (4 bytes) long.
It's the IP address that devices use to communicate with one another since they can't and don't
relay information using a name like www.google.com, www.youtube.com, etc. We get to
simply enter the simple name to these websites while DNS does all the lookups for us, giving
us near-instant access to the proper IP addresses needed to open the pages we want.
Email (or e-mail) communication can be defined as the exchange of short informational
messages between at least two people over a computer network. These messages containing
plain text, images or document attachments are delivered through email web-based services
like Gmail, Outlook, or Yahoo, rediffmail etc.
The term stemmed from programs that evolved from text-based chats to incorporating two-
way video interaction. Video chat is usually used when video-based communication is
incorporated into a preexisting service. For instance, when FaceBook incorporated Skype
video-based communication in 2011, it said that it was adding a video chat.
Social Networking:- refers to grouping of individuals and organizations together via some
medium, in order to share thoughts, interests, and activities.
Dynamic website
Dynamic website is a collection of dynamic web pages whose content changes dynamically. It accesses
content from a database or Content Management System (CMS). Therefore, when you alter or update the
content of the database, the content of the website is also altered or updated.
Dynamic website uses client-side scripting or server-side scripting, or both to generate dynamic content.
Client side scripting generates content at the client computer on the basis of user input. The web browser
downloads the web page from the server and processes the code within the page to render information to
the user.
In server side scripting, the software runs on the server and processing is completed in the server then
plain pages are sent to the user.
Webpage:- is a document, typically written in plain text interspersed with formatting instructions of
Hypertext Mark-up Language (HTML) XHTML. A webpage may incorporate elements from other
websites with suitable HTML anchor.
Web pages are accessed and transported with the Hypertext Transfer Protocol (HTTP), which may
optionally employ encryption secure, HTTPS to provide security and privacy for the user of the webpage
content.
What is HTML?
HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
All HTML tags must enclosed within < > these brackets.
Every tag in HTML perform different tasks.
If you have used an open tag <tag>, then you must use a close tag </tag> (except some tags)
Syntax
<tag> content </tag>
Unclosed HTML Tags
Some HTML tags are not closed, for example br and hr.
<br> Tag: br stands for break line, it breaks the line of the code.
<hr> Tag: hr stands for Horizontal Rule. This tag is used to put a line across the webpage.
Example
<html>
<head>
<title>PageTitle</title>
</head>
<body>
<h1>MyFirstHeading</h1>
<p>Myfirstparagraph.</p>
</body>
</html>
<html> :-This tag encloses the complete HTML document and mainly comprises of document header
which is represented by <head>...</head> and document body which is represented by <body>...</body>
tags.
<head> :-This tag represents the document's header which can keep other HTML tags like <title>, <link>
etc
<title> :-The <title> tag is used inside the <head> tag to mention the document title.
<body> :-This tag represents the document's body which keeps other HTML tags like <h1>, <div>, <p>
etc.
<h1> :-This tag represents the heading.
<p> :-This tag represents a paragraph.
background: It contains the URL of the background image. It is used to set the
background image.
bgcolor: It is used to specify the background color of web page.
alink: It is used to specify the color of the active link.
link: It is used to specify the color of visited links.
text: It specifies the color of the text in a document.
vlink: It specifies the color of visited links.
Heading Tags
Any document starts with a heading. You can use different sizes for your headings. HTML also has six
levels of headings, which use the elements <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying
any heading, browser adds one line before and one line after that heading.
<h1> is bigger heading Tag and <h6> is the smallest heading tag
Example:-
<html>
<head>
<title>Heading Example</title>
</head>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph Tag
The <p> tag is used to start a paragraph and </p> tag is used to end a paragraph. Text between
the 2 tags is your paragraph.
Example
<html>
<head>
<title>Paragraph Example</title>
</head>
<body>
<p>Here is a first paragraph of text.</p>
<p>Here is a second paragraph of text.</p>
<p>Here is a third paragraph of text.</p>
</body>
</html>
This will produce the following result –
Here is a first paragraph of text.
Here is a second paragraph of text.
Here is a third paragraph of text.
Attributes of <p>tag
Whenever you use the <br /> element, anything following it starts from the next line. This tag is an
example of an empty element, where you do not need opening and closing tags, as there is nothing to go
in between them.
The <br /> tag has a space between the characters br and the forward slash. If you omit this space, older
browsers will have trouble rendering the line break, while if you miss the forward slash character and just
use <br> it is not valid in XHTML.
Example
<html>
<head>
<title>Line Break Example</title>
</head>
<body>
<p>Hello<br />
You delivered your assignment on time.<br />
Thanks<br />
Mahnaz</p>
</body>
</html>
This will produce the following result –
Hello
You delivered your assignment on time.
Thanks
Mahnaz
Centering Content
You can use <center> tag to put any content in the center of the page or any table cell.
Example
<html>
<head>
<title>Centring Content </title>
</head>
<body>
<p>This text is not in the center.</p>
<center>
<p>This text is in the center.</p>
</center>
</body>
</html>
This will produce following result –
Horizontal Lines
Horizontal lines are used to visually break-up sections of a document. The <hr> tag creates a line from
the current position in the document to the right margin and breaks the line accordingly.
For example, you may want to give a line between two paragraphs as in the given example below −
Example
<html>
<head>
<title>Horizontal Line Example</title>
</head>
<body>
<p>This is paragraph one and should be on top</p>
<hr />
<p>This is paragraph two and should be at bottom</p>
</body>
</html>
This will produce the following result –
Again <hr /> tag is an example of the empty element, where you do not need opening and closing tags,
as there is nothing to go in between them.
The <hr /> element has a space between the characters hr and the forward slash. If you omit this space,
older browsers will have trouble rendering the horizontal line, while if you miss the forward slash
character and just use <hr> it is not valid in XHTML
<html>
<head>
<title>use of formatting Tags in HTML</title>
<body>
<p> use of Bold tag</p>
<b> This is bold text</b>
<p> use of Italic tag</p>
<i> This is Italic text</i>
<p> use of underline tag</p>
<u> This is underline text</u>
<p> use of strong tag</p>
<strong> This is strong text</strong>
<p> use of em tag</p>
<em> This is em/italic text</em>
<p> use of mark tag</p>
<mark> This is used to highlight text</mark>
<p> use of strike tag</p>
<strike> This is used to strikethrough text</strike>
<p> use of del tag</p>
<del> This is used to display deleted text</del>
<p> use of ins tag</p>
My favorite color is <del>blue</del> <ins>red</ins>!
<p> use of superscript tag</p>
<h1>(A+B)<sup>2</sup>=A<sup>2</sup>+B<sup>2</sup>+2AB</h1>
<p> use of subscript tag</p>
<h1>H<sub>2</sub>O</h1>
</body>
</html>
<IMG> Tag:- The <img> tag is used to insert an image into an HTML document. The image itself
isn’t inserted directly into the document, the browser inserts an HTML image from the source specified in
the <img> tag.
To make HTML images clickable, you should place the <img> tag inside the <a> tag, which is
used for inserting an HTML image link.
href:- href attribute is required, as this is what creates the link. Href stands for hypertext reference and
contains the URL to send users to when they click on the link.
Target attribute:-The target attribute is used to describe how the user will be sent to the page in the
link. The two most common values are:
"_self", which is the default option if not otherwise specified, and sends users to the link within the
same browsing context, usually a tab.
"_blank" opens the anchor link in a new window or tab. This is typically used to link to external
pages.
Title attribute:-The title attribute is used to provide a name for the link.
Example:-
<html>
<head>
<title>To make image clickable</title>
</head>
<body>
<center>
<h2> Hyperlink</h2><br>
<h1><a href="C:\Users\acer\Desktop\Internet Concepts.docx" target="_blank">Click to
download/open notes</a>
<h1><a href="http://www.itidharamshala.in" target="_blank">website</a>
</center>
</body>
</html>
HTML Lists:- HTML Lists are used to specify lists of information. All lists may contain one or more
list elements. There are three different types of HTML lists:
To represent different ordered lists, there are 5 types of attributes in <ol> tag.
Type="1"
Type="I"
Type="i"
Type="A"
Type="a"
Example:-
<html>
<head>
<title>Ordered list</title>
</head>
<body>
<ol type="1">
<li>Aries</li>
<li>Bingo</li>
<li>Leo</li>
<li>Oracle</li>
</ol>
</body>
</html>
Output:-
1. Aries
2. Bingo
3. Leo
4. Oracle
o disc
o circle
o square
o none
Example:-
<html>
<head>
<title>Unordered list</title>
</head>
<body>
<ul type="disc">
<li>HTML</li>
<li>Java</li>
<li>JavaScript</li>
<li>SQL</li>
</ul>
</body>
</html>
Output:-
HTML
Java
JavaScript
SQL
The definition list is very appropriate when you want to present glossary, list of terms or other name-value list.
<html>
<head>
<title>Definition list</title>
</head>
<body>
<dl>
<dt>Computer</dt>
<dd>-It is an electronic device.</dd>
<dt>Printer</dt>
<dd>-It is an output device and used to take printouts.</dd>
<dt>Keyboard</dt>
<dd>-It is an input device.</dd>
</dl>
</body>
</html>
HTML Nested List:- A list within another list is termed as nested list. If you want a bullet list inside a
numbered list then such type of list will called as nested list.
Example:-
<html>
<head>
<title>Nested list</title>
</head>
<body>
<p>List of Indian States with their capital</p>
<ol>
<li>Delhi
<ul>
<li>NewDelhi</li>
</ul>
</li>
<li>Haryana
<ul>
<li>Chandigarh</li>
</ul>
</li>
<li>Gujarat
<ul>
<li>Gandhinagar</li>
</ul>
</li>
</ol>
</body>
</html>
HTML Marquee
The Marquee HTML tag is a non-standard HTML element which is used to scroll an image or text
horizontally or vertically.
In simple words, you can say that it scrolls the image or text up, down, left or right automatically.
HTML Marquee Attributes
Marquee's element contains several attributes that are used to control and adjust the appearance of the marquee.
Attribute Description
behavior It facilitates user to set the behavior of the marquee to one of the three
different types: scroll, slide and alternate.
direction defines direction for scrolling content. It may be left, right, up and down.
width defines width of marquee in pixels or %.
height defines height of marquee in pixels or %.
hspace defines horizontal space in pixels around the marquee.
vspace defines vertical space in pixels around the marquee.
scrolldelay defines scroll delay in seconds.
scrollamount defines scroll amount in number.
loop defines loop for marquee content in number.
bgcolor defines background color. It is now deprecated.
Example:-
<html>
<head>
<title>Use of marquee tag and attributes</title>
</head>
<body>
<marquee width="100%" direction="up" height="100px" bgcolor="pink">
<b>Sample text scrolling up.</b>
</marquee>
<marquee width="100%" direction="down" height="100px" bgcolor="yellow">
<i>Sample text scrolling down.</i>
</marquee>
<marquee width="100%" direction="right" height="100px" bgcolor="pink">
<h3>Sample text scrolling left to right.</h3>
</marquee>
<marquee width="100%" direction="left" height="100px" bgcolor="yellow">
<h4>Sample text scrolling right to left.</h4>
</marquee>
<hr \>
<marquee behavior="scroll" direction="up" scrollamount="1" bgcolor="pink">Slow Scrolling</marquee>
<marquee behavior="alternate" direction="right" scrollamount="20" bgcolor="yellow">alternate
Scrolling</marquee>
<marquee behavior="scroll" direction="left" scrollamount="20" bgcolor="pink">Fast
Scrolling</marquee>
<marquee behavior="scroll" direction="right" scrollamount="50" bgcolor="yellow">Very Fast
Scrolling</marquee>
<hr \>
<marquee behavior="alternate" bgcolor="darkblue" scrollamount="20"><img src="C:\Users\acer\
Desktop\audi.jpg"></marquee>
</body>
</html>
HTML Table
HTML table tag is used to display data in tabular form (row * column). There can be many
columns in a row.
We can create a table to display data in tabular form, using <table> Tag, with the help of <tr> ,
<td>, and <th> Tag
In Each table, table row is defined by <tr> tag, table header is defined by <th>, and table
data is defined by <td> tags.
Attributes of <Table> Tag:-
Border:- it is used to put a border across all the cells. If you do not need a border, then you can use
border = "0".
Cellpadding and cellspacing:- These attributes are used to adjust the white space in your table
cells. The cellspacing attribute defines space between table cells, while cellpadding represents the distance
between cell borders and the content within a cell.
Colspan and Rowspan Attributes:-We use colspan attribute if we want to merge two or
more columns into a single column. Similar way we use rowspan if we want to merge two or
more rows.
Tables Backgrounds:-You can set table background using one of the following two
ways −
bgcolor attribute − You can set background color for whole table or just for one cell.
background attribute − You can set background image for whole table or just for one cell.
You can also set border color also using bordercolor attribute.
Example 1:- HTML Table with border, border color, background color, Cellpadding and
cellspacing Attributes
<html>
<head>
<title>HTML Table with attributes</title>
</head>
<body>
<h3> HTML Table with border, border color, background color, Cellpadding and cellspacing
Attributes</h3>
Example 2:- HTML Table with border, height, width, colspan and rowspan attributes
<html>
<head>
<title>HTML Table Cellpadding</title>
</head>
<body>
<h3> HTML Table with border, border color, background color, height, width ,colspan and
rowspan attributes</h3>
<tr>
<th colspan=4> Student Details</th>
</tr>
<tr>
<th rowspan=2>Name</th>
<th rowspan=2>Address</th>
<th colspan=2>Marks</th>
</tr>
<tr>
<th>10th</th>
<th>12th</th>
</tr>
<tr>
<td>Anjali</td>
<td>Chamunda</td>
<td>500</td>
<td>350</td>
</tr>
<tr>
<td>Babita</td>
<td>Nagrota</td>
<td>550</td>
<td>400</td>
</tr>
</table>
</body>
</html>
Example 3:- HTML Table with border, height, width, and hyperlink <a> tag.
<html>
<head>
<title>HTML Table with hyperlink</title>
</head>
<body>
<h3> HTML Table with anchor tag to create hyperlink</h3>
</tr>
<tr>
<td>Babita</td>
<td><a href="https://en.wikipedia.org/wiki/Nagrota_Bagwan"
target="_blank">Nagrota</td></a>
</tr>
</table>
</body>
</html>
HTML Form
An HTML form is a section of a document which contains controls such as text
fields, password fields, checkboxes, radio buttons, submit button, menus etc.
An HTML form facilitates the user to enter data that is to be sent to the server
for processing such as name, email address, password, phone number, etc.
3 Multi-line text input controls − This is used when the user is required to
give details that may be longer than a single sentence. Multi-line input controls
are created using HTML <textarea> tag.
name Used to give a name to the control which is sent to the server to be recognized and get the
value.
rows Indicates the number of rows of text area box
cols Indicates the number of columns of text area box.
Checkbox Control
Checkboxes are used when more than one option is required to be selected.
They are also created using HTML <input> tag but type attribute is set
to checkbox.
name Used to give a name to the control which is sent to the server to be recognized and get
the value.
size This can be used to present a scrolling list box.
multiple If set to "multiple" then allows a user to select multiple items from the menu.
value The value that will be used if an option in the select box is selected.
selected Specifies that this option should be the initially selected value when the page loads.
If you want to allow a user to upload a file to your web site, you will need to use
a file upload box, also known as a file select box. This is also created using the
<input> element but type attribute is set to file.
.
type Type attribute is set to be file to upload a file.
name Used to give a name to the control which is sent to the server to be recognized and
get the value.
accept Specifies the types of files that the server accepts.
.
Button Controls
There are various ways in HTML to create clickable buttons. You can also
create a clickable button using <input>tag by setting its type attribute
to button. The type attribute can take the following values –
<br><br>
User ID : <input type = "text" name = "user_id" />
<br><br>
Password: <input type = "password" name = "password" />
<br><br>
Gender:<br>
<input type="radio" name="Gender" value="Male"checked />Male
<input type="radio" name="Gender" value="Female" />Female
<input type="radio" name="Gender" value="Other" />Other
<br><br>
Subject:<br>
<input type="checkbox" name="Physics" checked />Physics
<input type="checkbox" name="Chemistry" />Chemistry
<input type="checkbox" name="Maths" />Maths
<input type="checkbox" name="English" />English
<br><br>
State:<br>
<input type="text" name = "Himachal" value="Himachal Pradesh" disabled>
<br><br>
Select District:<br>
</html>
HTML - Audio & Video Controls
The HTML <audio> and <video> tags make it simple to add media to a website.
You need to set src attribute to identify the media source and include a controls
attribute so the user can play and pause the media.
<video>tag attributes:-
What is CSS?
Cascading Style Sheets (CSS) is used to format the layout of a webpage.
With CSS, you can control the color, font, the size of text, the spacing between elements,
how elements are positioned and laid out, what background images or background colors are
to be used, different displays for different devices and screen sizes, and much more!
Tip: The word cascading means that a style applied to a parent element will also apply to all
children elements within the parent. So, if you set the color of the body text to "blue", all
headings, paragraphs, and other text elements within the body will also get the same color
(unless you specify something else.
Using CSS
CSS can be added to HTML documents in 3 ways:
Inline CSS
An inline CSS is used to apply a unique style to a single HTML element. An inline CSS uses
the style attribute of an HTML element. Inline CSS contains the CSS property in the
body section attached with element is known as inline CSS. This kind of style is
specified within an HTML tag using the style attribute.
The following example sets the text color of the <h1> element to blue, font size to 60px,
font style to italic, text decoration to underline and the text color of the <p> element to red,
font style to italic and text align to center :
Example:-
<html>
<head>
<title>Inline CSS </title>
</head>
<body>
<h1>Use of Inline CSS</h1>
<h1 style="color:blue;font-size:60px; font-style:italic; text-decoration:underline">A
blue Heading for Inline CSS.</h1>
<p style="color:red; font-size:50px; font-style:italic;text-align:center; ">A red
paragraph for Inline CSS.</p>
</body>
</html>
Internal CSS
An internal CSS is used to define a style for a single HTML page.
An internal CSS is defined in the <head> section of an HTML page, within a
<style> element.
The following example sets the text color of ALL the <h1> elements (on that
page) to blue, and the text color of ALL the <p> elements to red. In addition,
the page will be displayed with a "powderblue" background color:
Example:-
<html>
<head>
<style>
body
{
background-color: powderblue;
}
h1 {
color: blue;font-size:50px;text-align:center;
}
p {
color: red;font-size:40px;text-decoration:underline;text-decoration-color:green;
}
</style>
</head>
<body>
<h2> Use of Internal CSS</h2>
<h1>This is a heading for Internal CSS</h1>
<p>This is a paragraph for Internal CSS.</p>
</body>
</html>
External CSS
An external style sheet is used to define the style for many HTML pages.
To use an external style sheet, add a link to it in the <head> section of each
HTML page:
Example:-
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Use of External CSS</h1>
<h2>This is a heading for External CSS</h1>
<p>This is a paragraph.</p>
</body>
</html>
The external style sheet can be written in any text editor. The file must not contain any
HTML code, and must be saved with a .css extension.
"styles.css":
body {
background-color: powderblue;
}
h1 {
color: blue;text-decoration:underline;
}
h2 {
color:green;
}
p{
color:red;font-size:20px;
}
Tip: With an external style sheet, you can change the look of an entire web site, by changing
one file!
HTML CSS
HTML is used to define a structure of a web CSS is used to style the web pages by using
page. different styling features.
It consists of tags inside which text is enclosed. It consists of selectors and declaration blocks.
HTML doesn’t have further types. CSS can be internal or external depending upon
the requirement.
We cannot use HTML inside a CSS sheet. We can use CSS inside a HTML document.
HTML is not used for presentation and CSS is used for presentation and visualization.
visualization.
Example of CSS
<html>
<head>
<style>
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p{
font-family: verdana;
font-size: 20px;
}
</style>
</head>
<body>
</body>
</html>
Definition of CMS:
CMS Stands for "Content Management System." A CMS is a software tool that allows you to
create, edit, and publish content.
Description of CMS:
The goal of a CMS is to provide an intuitive user interface for building and modifying
webpage content. Each CMS also provides a web publishing tool that allows one or more
users to publish updates live on the Web. The editing component is called the content
management application (CMA), while the publishing tool is called the content delivery
application (CDA). These two components are integrated together in a CMS to streamline the
web development process.
major advantage of using a CMS is that it requires almost no technical skill or knowledge to
manage. Since the CMS manages all your content, you don't have to. There are several web-
based CMS tools available today. The following are some of the most popular ones:
• WordPress - free web software designed for creating template-based websites or blogs
• Blogger - Google's blogging tool designed specifically for maintaining a blog
• Joomla - a flexible web publishing tool that supports custom databases and extensions
• Drupal - an open source platform often used for developing community-based sites
•Weebly - a web-based platform for building simple personal and business websites
• Wix - a collection of web publishing tools for creating a highly customizable website
Introduction to Kompozer
KompoZer is a complete Web Authoring System that combines web file management and
easy-to-use
WYSIWYGweb page editing capabilities found in Microsoft FrontPage, Adobe
DreamWeaver and other high end programs. With kompozer you can create web pages and
manage a website with no technical expertise or knowledge of HTML.