Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Styling Client/Server
Content/Data
Rules Logic
Web Browser
Website
A web page, broken down
PHP/ASP/
HTML CSS
JavaScript
Web Browser
IE/FF/Opera/Chrome
Website
What is HTML
<html>
<head>
<title>My first web page</title>
</head>
<body>
<h1>Hello everyone</h1>
</body>
</html>
HTML Syntax
output
HTML <body> Tag (contd..)
Attributes
bgcolor - Specifies a background-color for a HTML page.
<body bgcolor="#000000">
<body bgcolor="rgb(0,0,0)">
<body bgcolor="black">
<body background="clouds.gif">
<body background="http://www.abc.com/clouds.gif">
HTML <img> Tag
Attribute Values
Value Description
button Defines a clickable button
checkbox Defines a checkbox
password Defines a password field. The characters in this field are masked
radio Defines a radio button
Defines a reset button. A reset button resets all form fields to their
reset
initial values
Defines a submit button. A submit button sends form data to a
submit
server
Defines a one-line input field that a user can enter text into.
text
Default width is 20 characters
HTML <input> Tag
TextInput Fields.
Used when you want the user to type
letters, number, etc.
HTML <input> Tag contd…
<style type="text/css">
body {
font-family: Tahoma, Arial, sans-serif;
...
}
</style>
Applying CSS (External)
Inline
styles are applied straight into the
HTML tags using the style attribute.
Internal Style Sheets
Data validation
Preload images
Dropdown menus
Data validation in HTML Forms
Set timer / Auto Refresh
Open a window
Display date / Countdown Timers
Print page
Save and access a cookie….. & many more
Add JavaScript to HTML
<form>
<input type = "button" value = "Show Me URL"
onClick = "getURL()">
</form>
JavaScript examples
Opening a Browser Window
<a href="#"
onClick="window.print();">
Print this page
</a>
Questions ?
SHOUBHIK ROY / SANDEEP BAJORIA
Email : info@brainware-baguiati.com
M : +91 98319 28362 / +91 98309 36993
web : www.brainware-baguiati.com
www.facebook.com/Brainware.Kolkata