Hssreporter•Com_Plus Two Comp Appli Ch4-WEB TECHNOLOGY
Hssreporter•Com_Plus Two Comp Appli Ch4-WEB TECHNOLOGY
Website
Web page is a document available on World Wide Web.
A web page contains huge information including text, graphics, audio, video and hyper links.
Website is a collection of web pages.
Web pages are developed with the help of HTML (Hyper Text Markup Language).
In the Internet, there are several types of communication like, accessing websites, sending e-mails,
etc.
Web pages are accessed using HTTP protocol
Communication on the web can be classified as:
Here a user request service from a server and the server returns back the service to the client.
Web server
A web server is a powerful computer that hosts websites.
A web server enables us to deliver web pages or services like e-mail, blog, etc.
A web server is a computer that process request and distributes information.
A web server can have single or multiple processors, fast access RAM, high performance hard
disks, Ethernet cards that support fast communication.
It consists of a server computer that runs a server operating system and a web server software.
Eg. for web server software: Apache Server, Microsoft Internet Information Server (IIS)
Software ports
Hardware ports are used to connect external devices like keyboard, mouse, monitor etc.
Software ports are used to connect client computer to server computer.
To distinguish the ports, the software ports are given unique numbers.
It is a 16-bit number.
DNS Server
DNS Server used to resolve (Convert) domain name into IP.
The process of translating domain name to IP address is called name resolution.
The internet contains thousands of interconnected DNS servers.
When you type a URL in your browser, the browser contacts the DNS server to find IP address.
The different steps used in resolving the IP address by DNS are as follows
a) The browser first searches the local memory for the corresponding IP address.
b) If it is not found it search the systems cache.
c) If it is not found it searches the DNS server of local ISP.
d) It searches from root till it find’s the IP address.
e) The ISP returns the IP address to the browser.
f) The browser connects using the IP address if not it displays error message
Web designing
Web designing is the process of designing attractive web sites.
Any text editor can be used to design web pages. Eg: notepad, geany, sublime text etc..
Scripts
Scripts are program codes written inside HTML pages.
Script are written inside <SCRIPT> and </SCRIPT> tags.
The commonly used scripting languages are java script,VB script,PHP etc
scripts
Scripting languages
JavaScript
Ajax
Ajax stands for Asynchronous JavaScript and Extensible Markup Language (XML).
AJAX mainly consists of two languages Java Script and XML.
It helps to update parts of a web page, without reloading the entire web page.
VB Script
Developed by Microsoft.
It is based on Visual Basic programming language
It can be used as client side/server side scripting language
PHP
It is a style sheet language used to define styles for WebPages. (color of the text, the style of fonts,
background images, etc.)
CSS can be implemented in three different ways:
Inline - the CSS style is applied to each tag.
Embedded - CSS codes are placed within the <HEAD> tag.
Linked CSS - external CSS file linked with the webpage.
It reduces the size of the web page.
Easy for maintenance.
Tags that requires opening tag and closing tag is called container tag.
Eg: <HTML> and </HTML>
Tags that requires only opening tag is called empty tag.
Eg: <BR>, <IMG>
<HEAD> Tag
It is a container tag used to specify the details of a webpage like title, scripts, CSS etc
<TITLE> Tag
The <TITLE> tag defines the title of the HTML document.
<BODY> Tag
The <BODY> Tag defines the body section of HTML document.
The main attributes of <BODY> tag are,
1)Bgcolor:-It specifies the background color of the document.
2)Background:-It specifies the background image for the document.
3)Text:-It specifies the colour of Text displayed on the document.
4)Link:-It specifies the colour of unvisited link.The default colour is blue.
5)Alink:-It specifies the colour of active link.The default colour is green.
6)Vlink:-It specifies the colour of visited link.The default colour is purple.
7)Leftmargin: -Specifies the left margin from where the text in the body appears.
8)Topmargin:-Specifies the top margin from where the text in the body appears.
Headings in HTML
HTML supports headings from <H1> to <H6>.
An important attributes of heading tags is Align.
It has three values Left,Right,Center
<P>Tag
The <P> tag is used to create paragraph
Attributes of <P> tag is Align
It has three value, left,right,center or justify.
<BR> Tag
<HR> Tag
The <HR> tag is used to create a horizontal line in HTML.
Attributes of <HR> Tag
Size:-It specifies the thickness of the line.
Width:-It specifies the width of the line.
Align:-It specifies the alignment of the line(Left, Right and Center)
Color:-It specifies the color of the ruler
<PRE> Tag
<MARQUEE> Tag
The <MARQUEE> tag defines the text that scrolls across the user’s display.
Attributes of <MARQUEE> tag
The important attributes of <MARQUEE> tag are,
Height and Width:-It determines the size of marquee area.
Hspace and Vspace:-It defines the space between marquee and the surrounding text.
Scrollamount and Scrolldelay:-These attributes control the speed and smoothness of
scrolling marquee.
Behaviour:-It defines the type of scrolling. It has three values scroll, slide and alternate.
Loop:-It specifies how many times the marquee text must scroll. The default value is endless.
Direction:-It specifies the direction of scroll.
<DIV> Tag
The <DIV> tag defines a division or a section in an HTML document.
Attributes of <DIV> tag is align,id,style
<IMG> tag
The <IMG> tag is used to insert image in a web page.
Attributes of <IMG> tag are,
Src:-It specifies the name of image.
Align:-It controls alignment of the image (TOP,MIDDLE or BOTTOM).
Width:-It specifies the width of the image.
Height:-It specifies the height of the image.
Alt:-It defines the text to be displayed if the browser cannot display the image.
Vspace and Hspace:-Controls the vertical and horizontal spacing between images in the web
page