Rms
Rms
An internet there are many heterogeneous hardware & software are connected on a network or by the networks, all of them are required to provide the support from communication with each other, Internet transfer of data is availed by using protocol software,but commonality is maintained by AS II character set !"#I$ $%&'(
)T*+
An internet if data representation is to be done pictorially than )T*+ is employ( )T*+ is a te,t base language in which command are written in te,t format and interprets by a special software known as Internet -rowser !I&'(
.eatures of )T*+
/( 1( 2( 4( 5( 6( 7( It0s an AS II te,t base language( It provides non linear te,t access facility( It0s an ob3ect based language( )tml is a Tag -ased +anguage( It0s Interprets by I& It is an error free language( It is case insensitive language(
TA8
)T*+ tags are the commands in )T*+ and they are representing an ob3ect of the )T*+ document( These can be manipulated using any client side scripting languages, such as 9ava Script, :- Script, action scripts etc( There are two type of tags /( ontainer Tags 1( Standalone;&mpty Tags
<html= <;html= <head=<;head= <title=<;title= <body=<;body= in container type of Tag you have to close these tags essentially( They include other tags and data within them( -ut on the other hand in standalone or empty tag you don0t have to close the tag like <hr= <br=<img= <base= etc>
since )T*l is a ob3ect base language there fore every tag represents an ob3ect
$b3ects: $b3ects are any physical entities which are describable logically or physically( &very ob3ect has following associated with them: ?roperties .unctions Action;&vents
)T*+ is a container Tag, which encloses all other tags on the current )T*+ Deb document, this is the first tag of any web page: ?roperties: #one
)&A%!tag' B <head=<;head= C
It contains the header details for the D&- pageE these are read by the browser windows and applied globally ?roperties: /' SIT !cF lass, sFStyle, iFId, tFTitle'
!ii' !iii'
background: used to set the image on background of the web page e(g(: backgroundFGc:JmypictJimage(3pgG bgproperties: has one of the two value( scroll ; fi,ed
Hif both bgcolor and background color has been specified then background property overrides(
4' $ther ?roperties: !/' Scroll F yes ; no !1' te,t F KredG !2' SIT ! lass, Style, Id, Title'
olours on Deb:
In )T*+ we can specify colors in two ways /' -y #ame 1' -y )e,adecimal :alues
<)6=<;)6=
)eading tag are used to create the heading in the web page <)/= is the largest heading and <)6= smallest heading( ?roperties: /' Align F left;right;center;3ustify 1' SIT
<-=<;-=
@enders !display' the te,t in -old ?A & -"@&A"
<I=<;I=
@enders !display' the te,t in Italic PACE BUREAU
<"=<;"=
@enders !display' the te,t in underline ?A & -"@&A"
<TT=<;TT=
?rint te,t in typewriter manner !Teletype' PACE BUREAU
<S=<;S= or <ST@IQ&=<;ST@IQ&=
Strike out the te,t as ?A &-"@&A"
<-I8=<;-I8=
@ender the tag in bigger fonts(
?A & -"@&A"
<S*A++=<;S*A++=
@ender the tag in small fonts( ?A & -"@&A"
<S"-=<;S"-=
@ender the tag in subscript fonts( ?A &-ureau
<S"?=<;S"?=
@ender the tag in super script fonts( ?A & -ureau
<&*=<;&*=
@ender the te,t in emphasiRed !-old and Italic'
PACE BUREAU
<ST@$#8=<;ST@$#8=
@ender the te,t in -old !like <-=<;-=' ?roperties: /' SIT
-@ Tag: <-@=
Standalone tag, "sed to insert line breaks( ?roperties: /' SIT(
? Tag: <?=<;?=
"sed to create a paragraph tag ?roperties: /MAlignFleft;right;center;3ustify 1M SIT
)@ Tag: <)@=
"sed to draw a horiRontal line on the web page(
?roperties: /' AlignFleft;right;center 1' olorFPredP 2' noshade !standalone attribute' 4' SIT 5' SiRe M "sed to define the thickness of the line( 6' Didth M Didth of line in pi,els(
/' SIT 1' Align: T$?;*iddle;-ottom M used to align the te,t in marquee container( 2' -ehavior: Slide;Alternate;Scroll 4' -gcolor: set the background color of *arquee( 5' %irection: +eft;@ight;%own;"p 6' )eight 7' Didth V' )space: )oriRontal Spacing around the alignment( W' :space: :ertical spacing around the alignment !?i,el;?ercentage' /I' +oop: !M/ to infinity' %efault is X/ //' Scrollamount: !value in pi,el' /1' Scrolldelay: !value in milliseconds' /2' TrueSpeed: !true;false'
-aseline ; absbottam ; bottom;center 1' Alt: Te,t written in it is displayed till the image is downloaded( This te,t is display as a tool tip te,t after the image downloads fully( 2' -order: -order siRe in pi,els( !I means no border'( 4' SIT 5' )eight 6' Didth 7' hspace: )oriRontal space V' :space: vertical spacing W' lowsrc: Takes the "@+ of low resolution image( /I' S@ : takes the "@+ of Actual image to be displayed( //' +oop: #o of times a dynamic source should repeat( /1' dynsrc: takes the "@+ of the dynamic source( /2' usemap: is used to specify the name of the map to be applied on the image( /4' ismap: standalone attribute, used to check the image is mapped or not using scripting language( /5' Start: .ileopen ; mouseover
A Tag: <a=<;a=
It is a container tag( De can use <a= tag for both anchoring as well as hyperlink inking( In anchoring one of the page or page portion in the current document is linked to other page!s'( In hyper linking a file is linked with another file( ?roperties: 1) Accesskey: is used to create a shortcut !alt' to work on the link( &(g( Alt T K@G brings the focus on the particular hyperlink 2) SIT 3) )ref !)yper @eference': takes the "@+ of the linked page 4) #ame: to give a name to the anchor( 5) Target: #ame of the window or frame in which, )yper linked or anchored document is to be open !?redefined values are Yblank, Yself, Yparent, Ytop or any user defined names(
@&ATI#8 +IST
+ist of items are grouped and marked by using either numbers of some special characters, such groups are known as lists in )T*+( There are three types of lists:
/' $rdered +ist 1' "nordered +ist 2' %efinition +ist /' $rdered +ist: <$+=<;$+=
These will have items which are either numbered or having alphabets in increasing order( &,am : a,b,c,d, A,-, ,% i,ii,iii,iv I,II,III,I: /, 1, 2, 4 e(g( <$+= <+I= )*T+ <+I= 9A:A Script <+I= AS?(net <;$+= This will create a list of items as follows: /( )*T+ 1( 9A:A Script 2( AS?(net Tags are <$+=<"+=<%+=<%%=<%T=<+I= These are the stand alone tags used for creating list ?roperties: /' SIT
1' TypeF/;a;A;i;I
<%+=%&.I#ITI$# +IST
%efinition lists are used for creating list which are used to describe several words having small description of those( These are created using following three tags( <%+= %efinition +ist <%T= %efinition Terms <%%= %efinition %escription e(g(: <%+= <dt= Software <dd= This are the logical units used to operate computer <dt= )ardware <dd= This is collection of physical parts of computer <;%+= $utput: Software This are the logical units used to operate computer )ardware This is collection of physical parts of computer ?roperties: /' SIT
This will work as follows: <a hrefFG(;image;car(3pgG= ?roperties: /' href 1' Target
included within the <map= tag( It has all the properties of <a= tag along with the following additional properties( /' Shape: rect ; circ ; poly 1' oords: coMordinate for the shape specified e(g(: <Area shapeFrect coordsFG1I,1I,5I,5IG hrefF0www(pace3bp(com0 targetFGYblankG=
@&ATI#8 TA-+&S
.or reating Table there following tags are used: <table= <tr= <td= <th= <caption= <tbody= <thead= <tfoot=
ellpadding ellspacing .rame : :oid ; above ; below ; hsides ; :sides ; +)S ; @)S ; -o, ; border !W' )eight : In ?i,el !/I' Didth !//' )space !/1' :space
T@ Tag: <T@=<;T@=
Table @ow( Table row is used to create a Table row( It contains <T%= & <T)= tags( ?roperties: !/' Align:+eft ; @ight ; center !align the matter' !1' -gcolor !2' -ordercolor !4' SIT !5' :alignFTop ; *iddle ; -ottom ; -aseline
T) Tag: <T)=<;T)=
Table )eading( @enders the te,t in bold & center align ?roperties: !/' align : +eft ; enter ;@ight !alignment of te,t' !1' -ackground: !2' -gcolor: !4' -ordercolor: !5' SIT: !6' :align: Top ; *iddle ; -aseline ; -ottom !7' )eight: height of the olumn !V' Didth: !W' olspan: !/I' @owspan: e(g(:
olumn
olumn
olumn
olumn
T% Tag: <T%=<;T%=
<T%= is same as <T)= It renders the te,t in normal & left align ?roperties: 1) align : +eft ; enter ; @ight !alignment of te,t' 2) -ackground 3) -gcolor 4) -ordercolor 5) SIT 6) :align: Top;*iddle;-aseline;-ottom 7) )eight: height of the olumn 8) Didth: 9) olspan: 10) @owspan: e(g( olumn olspan F 1 olumn olumn @ow spanF1 olumn
3)
SIT
@&ATI#8 .@A*&S
.rames are used for dividing the browser window into smaller parts which can separately be used to display different web pages on the same web browser window( .rames are named elements and hence can be used for making communication between the different web pages( .ollowing tags are used for creating frames( <.@A*&S&T= <.@A*&= <I.@A*&= I*?: Dhenever a <frameset= tag is used <body= tag is not used(
?roperties: 1) -order: any number !I #o -order and so on' 2) -ordercolor: Set the color of -order 3 SIT 4) ols: /IZ, 1IZ 2IZ 5) @ows: 5IZ,5IZ 6) .rameborder: yes;no 7) .ramespacing: spacing between the two frame
<.rame=
This tag is standalone tag used for creating forms on the -rowse window along with the frameset tag as many no of cols & rows are specified in the frameset tag those many no of frame tag are used ?roperties: 1) -ordercolor: 2) SIT: 3) .ramborder: Aes;#o 4) *arginheight: 5) *arginwidth: 6) #ame: 7) #oresiRe: standalone 8) Scrolling: Auto;Aes;#o( 9) Src: "@+ on the web page open in the current frame( e(g(: <frameset colsF5IZ,5IZ= <frame srcF0http:;;www(pace3bp(com0 nameF0leftframe0= <frame srcF0http:;;www(pace3bp(com0 nameF0rightframe0= <;frameset=
?roperties: /' Align: +eft ; @ight ; -ottom ; *iddle "sed to align the te,t around the iframe 1' SIT: 2' .rameborder: 4' )eight: 5' Didth: 6' )space: )oriRontal Spacing 7' :space: :ertical Spacing V' *arginheight: W' *arginwidth: /I' #ame: //' Scrolling: Auto;Aes;#o( /1' Src:
"sed to attach *ultimedia on the web pages through plugM ins( ?roperties: 1) Access Qey: 2) Align: same as <img= tag0s align property values 3) Alt: 4) -order: 5) SIT: 6) )eight: 7) Didth: 8) )space: 9) :space: 10) Src:
STA+& S)&&TS
Are the collection of properties and functions of the different styles for the web pages !e(g( olor, fonts, 8raphics etc(', which are used for displaying te,t & other data in a common format so that they can be applied commonly on the all web pages or on all Tags in one page or some specific tags on one or more pages( &ven they can be applied on one tag( There are three types of stylesheets: 1) Inline 2) &mbedded 3) &,ternal
page( e(g(: <head= <style typeFGte,t;cssG= ?[ backgroundMcolor: redE color: white \ -ody [\ span[\ <;style= <style typeFGTe,t;cssG= (myclass [\ (myclass/[\ <;style= <;head= <body= <p classFGmyclassG=?A & -"@&A"<;p= <p classFGmyclass/G=?A & -"@&A"<;p= <p=?A & -"@&A"<;p= <;body=
)T*+ forms are the palettes which give the facility for creating web pages having interaction with the users( .ollowing components are embedded within the <form= tag( &lements 1) 2) 3) 4) 5) 6) 7) 8) 9) Te,t -o, -utton *ultiline Te,t bo, !Te,tArea' )idden ?assword Submit -utton @eset -utton Select !"sed for creating list bo, & combo bo,' .ile ! "sed for creating file upload components !attachment'
?$ST: a' Dhenever ?ost value is used in method property, data is transferred through .$@* collection( b' De can send any amount of data to the server( c' &ven secured information can be sent( #$T&: De can use both 8&T & ?$ST simultaneously( 8) #ame 9) Target
.$@* &+&*&#TS
Are applied using standalone tag <input=(
%isabled: !Standalone' #ame: #ame of the -utton SiRe: "sed to set the width of button :alue: storing the caption
<$?TI$#=<;$?TI$#=
"sed to add options in the list bo,( ?roperties : /' csit 1' disabled 2' selectedFtrue;false 4' value
area is having a legend shown on the upper left corner, the elements to be embedded in the fieldset are written in the +abel Tag( ?roperties: /' accesskey: 1' align: left;right;center 2' contenteditable: True;.alse 4' disabled: 5' csit: e(g(: <fieldset= <legend=?A &<;legend= <label=item/<;label= <label=item1<;label= <label=item2<;label= <label=item4<;label= <;fieldset=
9A:AS @I?T Dhat is 9avascript] Dhy to Drite 9ava Scripts] )ow to Drite 9ava scripts] %$* !%$ "*&#T $-9& T *$%&+': It is used for representing ob3ect hierarchy on browser window( It includes all the ob3ects supported by different browser windows !I&, *$SI++A, .irefo,, $pera etc(' and they may be different for different browsers( Top most ob3ect in %$* )ierarchy is KDI#%$DG omplete hierarchy is as follows:
Driting 9ava Scripts: /' :ariable: :ariables in 9S are created using KvarG keyword as follow: var ,E var ,, y, RE var a F /IE !KEG is optional' 1' %ata Types: 9S does not require variables to be of specific type which means all variables are variant in 9S( -ut whenever a value is assigned to a variable it is automatically treated as string( Window
History Document Location Toolbar Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location
:ariables value can be converted into specific type for the usage is done as follows:
parseInt !' This is used to convert a string into integer( e(g(: var , F K/12G var v F parseInt!,'E will store value /12 in v( parse.loat!' This is used to convert a string into float value( e(g(: var , F K/1(245G var f F parse.loat!,'E will store value /1(245 in f( oncatenation: This is used to add to strings to give the resultant string consisting of added strings( e(g(: var aF K?aceG, bFG-ureauG var , F a T K K T bE will store K?ace -ureauG in ,( HHH Integer and floats are automatically converted into strings( e(g(: var ,F/I var cFG?A >,E will store K?A &/IG into c(