STD 10 Computer Chapter 1 Introduction To HTML
STD 10 Computer Chapter 1 Introduction To HTML
Network
When computers are connected with each other they can share resources. Such
group of connected computer is known as a computer network.
Internet
The Internet is a collection of such multiple computer networks, hence known as
network of networks.
Web
On the platform of the internet, a distributed information system exists, which is
called WWW (World Wide Web) or Web.
The notion of the web was conceived in 1991 by Tim Berners-Lee, while consulting
at CERN (European Organization for Nuclear Research) in Switzerland.
The web is a repository of multimedia information on the internet platform.
The web content in form of web pages is explored using browser
Individual document pages on the WWW are called web pages and are accessed
with a software application running on the user computer, commonly called a web
browser
Browser
Special software applications to retrieve and view web information.
Website
Website is a collection of web pages that display information about an organization
or institute.
Hyperlink
On web pages, links are placed pointing towards different locations. These links are
known as hyperlink.
Any content such as text, picture, graphics etc can be embedded with such
hyperlink.
HTML
HTML (HyperText Markup Language), describe how a web page should be
displayed by a web browser. HTML is considered as a language for describing web
pages.
The HTML is a documentation language to mark content of web pages such as
heading, title, table, image etc.
HTML tag
• Several sets of angular brackets with words or letters within them. These brackets
and words inside them are known as tags.
• A tag is made up of letter, words and numbers enclosed between a left and righ
right
angular bracket. i.e <>
HTML Element
• A combination of opening and closing tag along with some content between the
two tags forms an element.
An HTML element may be empty or can have attributes to specify the additional
formatting and publishing instructions
tructions
HTML Title
The title of a web page is specified by the TITLE element, which is placed in the head
section of the document.
Document should have only one title element.
Title should be simple text and cannot contain special commands such as hyperlinks.
The title appears as a label of the window displaying the text.
The title also holds a place in a browser’s history or bookmark list.
<small> and </small> The content is displayed one font size smaller than the rest of the
text surrounding it.
<big> and </big> The content is displayed one font size bigger than the rest of the text
surrounding it.
<sup> and </sup> The content is displayed in superscript.
<sub> and </sub> The content is displayed in subscript.
<acronym> and It defines the content as an acronym.
</acronym> The <acronym> tag is used to spell out another word.
<dfn> and </dfn> It defines a special term.
<q> and </q> It defines a quote.
Align attribute
The align attribute indicates whether the heading appears to the left, center or right
of the page.
By default, the content is aligned to the left of the page.
It can take three values as follows:
– Left: The content is aligned to the left of the page.
– Right: The content is aligned to the right of the page.
– Center: The content is aligned to the center of the page.
There are some attributes which can appear along with every tag. Such attributes are
called universal attributes.
– Align is such universal attribute.
– <p align=“right”>Some content goes here</p>
Presented by Nuzhat Ibrahim Memon 5
– Being a universal attribute, the align attribute can also go with heading.
<h1 align=“center”>Some heading goes here</h1>
Soft spaces and hard spaces in HTML
When content given in a paragraph is aligned, some spaces are automatically added
for adjustment. The spaces which are inserted automatically are known as soft
spaces.
If users himself (manually) inserts some spaces, such hard spaces will be
automatically deleted unless the content is written using <pre> and </pre> tag pairs.
Anchor tag
A website, collection of many web pages, manages web pages through such hyperlink
management.
– To create link between web pages, we need hyperlink.
– The hyperlink is a way to link two HTML documents by creating a hyper text in
a document and giving reference of the other document to it.
Set of such words or text that appears in different colour (generally blue and
underlined) are called hyperlink.
A hyperlink is created using an <a> element, where the ‘a’ stands for an anchor.
It uses the attribute “href” that stands for hyperlink or hypertext reference
The value of the href attribute is the name and address of the webpage to which we
want to refer.