Professional Documents
Culture Documents
ACADEMIC YEAR:2022-23
2000800550
4 lists
Ordered list
<ol></ol>Unordered list
<ul></ul>Listtag<li></li>
Table tag
<table></table>Attributes
intabletag:
<tr></tr>indicatestablerow.
<td></td>indicates table
data.Groupingtag:<div></div>
Form:
Inputtag:<inputtype=”text”placeholder=”name”>
type=”text”meansitcontainstextvalueandplaceholderistextyouwantintoyourtextfield.
5
type=”radio” used for radio buttons, type=”checkbox” used for
checkbox,type=”submit”usedtosubmit form.
Selectusedtocreatelistboxandoptionattribute(<option></option>)usedtoinsertvalues
inlist.
Weekly summarization of the above activities : Practical Implement on HTML block level
tags, list tags Check button, radio button and div tag.
Signature of the student:……………… Signature of Industrial Supervisor:
…………………
Week2: From: 11/07/2022 to: 16 / 07 /2022
WayofdefiningCSS:
4 UsingTagname:Usewhenwe haveonlyone tag.(e.g.:p{color:red;})
UsingId:weuse‘#’towrite CSSforid.(e.g.:#name{height:50px;})
UsingClassname:weuse‘.’TowriteCSSforclass. (e.g.:.head{color:black;})
Color(color:“colorname”;)
BackgroundType:
5 background-color:“colorname”;
background-image:url(“src”);
background-repeat:repeat-x,repeat-y,orno-repeat
Assignment-DesignfirstwebsiteusingHeader,ArticleandFooter
6
Introductionto Bootstrap.
4 Online-bootstrap:<linkrel="stylesheet"href="https://maxcdn.bootstrapcdn.com/
bootstrap/3.4.0/css/bootstrap.min.css">
Offlinebootstrap:(downloadbootstrapfileandinclude itintag)
Classes:ContainerandContainer-fluid.
5 Grid:Gridismadeupofgroupingof RowsandColumns inside1ormoreContainers.
Usedforlayout,specificallyResponsiveLayouts.
Jumbotronclass:usedto createagreybox.
6 Table class:tableclass=“table”.
table-bordered,table-striped,table-condense,table-responsive.
Image-classes:img-rounded,img-thumbnail,img-responsive,img-circle.
Form:form-control,form-group.
3 Columns:col-lg-6/12,col-xs-12/6,col-sm-4/6,col-md-4/6.
Symbols: glyphicon(envelop,search,etc.)
Buttonprimaryclass:active, disabled.
4 Button-group:btn-group,caret(usedtocreateselectbox).
Dropdown-menu:dropdown-menu(tocreatelistbox
Progress:classprogress-bar.
5 Progress-bar-success,progress-bar-info,progress-bar-warning.progress-striped,
progress-stripped-active
6 Assignment-DesignfirstwebsiteusingHeader,ArticleandFooterusingBootstrap
Introductionto JavaScript
1 Applications: To change HTML content, to change CSS object, change HTML object,
Form-validation,etc.
DisplayPossibilities:
1. Using.innerHTML
2. document.write()
2
3. window.alert()
4. console.log()
Scripttag:<scripttype=css/javascript></script>
Method:document.getElementById();`
1. ChangeHtml content.innerHTMLused
3
tochangehtml content.
2. ChangeCSScontent.
styleusedtochange CSScontent
.srcusedtoperform actiononimage.
4
.styleusedto changeCSSobject.
Hide:.style.display=’none’(HidetheContent.)
Show:style=”display:none”(WhenonclickeventhappenshowtheContent.)
Variable:
Used
5 tostorevalues.varusedtoassign
name.
Rules ofcreatingvariable.
Datatypes.
Statements:
2 if,if-else, if…else if
Functions.
Form-validation.
PHP Introduction and
InstallationLocalandLiveserver
3 Clientserverarchitecture
1)IntroductionTophpandhowtodownload,installandoperateXamppserver.
2) Also run php programs using local host.3)Structure
of php program and some basicsEx:-<?php
4 $t=date(“H”);
If($t<”20”){
Echo“Haveagood day!”;
}
?>
Conditonal Statements in
php:1)if(condition){
Codetobeexecutedifconditionistrue;
}
5 2) if(condition){
Codetobeexecutedifconditionistrue
}else{
Codetobe executedif conditionisfalse;
}
switch
Loops:
1) Whilewhile(conditionistrue){
codetobeexecuted;
}
6 2) dowhile do{
codetobeexecuted;
}while(conditionis true);