Web Development: Presented by Aniket Chakravarty Rollno:23401218029 From Internshala
Web Development: Presented by Aniket Chakravarty Rollno:23401218029 From Internshala
Without any markup to give your page content structure, the browser renders unformatted
and unstyled text
Once page content is marked up with HTML tags, the browser applies default styles to the
tags. So now page is readable and have a clear hierarchy. HTML
This is how a
website looks
with html.
Looks ugly…
Doesn’t it?
No HTML?
<table></table> - to display
table
<form></form> - to define
form for user input
<img></img> - to add
Lets add HTML tags to our page...
#title {
font-style: italic;
border: 1px dotted blue;
}
.title {
font-weight: bold;
background: yellow;
}
Some things you can
change with CSS
• colors • spacing
• font • sizes
• font size • borders
• backgrounds • positions (layout)
So now it’s time for
styling!!!
Lets add some
css rules to
our example
page.
Looks
perfect!
Tex + HTML +
t = Web PageCSS
JavaScript ≠
Java
• JavaScript was not developed at Sun Microsystems, the
home of Java.
Validate values
entered in the
form fields
What we can do
with
JavaScript?
Load information
automatically when
it's needed
What we can do
with
JavaScript?
Create photo
slideshow and
control how
long it takes to
move from one
image to the
next and with
what animation
effect
What we can do
with
JavaScript?
And much much
more…
JavaScript
At the beginning JavaScript was
designed to manipulate web pages.
And it does that very well!