HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
-
Upload
jatin-batra -
Category
Education
-
view
13 -
download
0
Transcript of HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
Ph. No.: 8222066670, 4000670
Email: [email protected]
Website: www.batracomputercentre.com
BATRA COMPUTER CENTREISO CERTIFIED 9001:2008
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
HTML= Hyper Text Markup Language
A markup language designed for the creation of web pages and other information viewable in a browser
The basic language used to write web pages.
File extension: .html, .htm
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
<html><head><title> My First web
Page</title></head><body><h1> Hello
everyone</h1></body></html>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
A Tag is: Non-hierarchical keywords or term assigned to a piece of information
Tag Usually goes with pair: an open tag (<b> and an end tag (</b>)
<> - Opening Tag</> - Closing Tag
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The element content is everything between the start and the end tag (<p> HELLO </P>)
Some HTML elements have empty content (<br/>
Most HTML elements can have attributes
Its not case sensitive - <p> means the same as <p>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The element content is everything between the start and the end tag (<p> HELLO </P>)
Some HTML elements have empty content (<br/>
Most HTML elements can have attributesIts not case sensitive - <p> means the
same as <p>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Open a text editorCreate your HTML documentSave the HTML (extension of .htm,
or .html)Display your HTML documents in www
browser windowCheck your work and modify as
necessary.Upload it on the Web.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The body element defines the documents' body and contains all the contains of an HTML document, such as text, hyperlinks, images, tables, lists etc.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Attributes *bgcolor – Specifies a background-color for a HTML page. <body bgcolor=“#000000”> <body bgcolor=“rgb(0,0.0)”>
<body bgcolor=“black”> *Background – Specifies a background-image for a HTML page. <body background=“clouds.gif”> <body background=http://www.abc.com/clouds.gif>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The <img> tag embeds an image in an HTML page
The <img> tag has attributes: src, alt, height, width.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The <a> tag defines an anchor.Attribute for <A..> HREF = “URL” A Hypertext link <a href=http://www.google.com> Google</a> OUTPUT: Google A Email link <a href=mailto:[email protected],> Email me</a>Output: Email me
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The <pre> tag defines preformatted text.
Text in a pre element is displayed in a fixed-width font and it preserves both spaces and line breaks
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The <font> tag specifies the font face , font size and font color of text
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The <table> tag defines an HTML Table.
A simple HTML Table consists of the table element and one or more tr, th and td elements.
Attribute Values
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
A form is an area that can contains form elements
Commonly used form elements includes:
1. Text Fields 2. Radio buttons 3. Checkboxes 4. List Boxes 5. Submit Buttons
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Text Input Fields *Used when you want the user to type letters, number etc.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
The <select> tag is used to create a select list
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
CSS = Cascading Style Sheets
*CSS is a way to style HTML. Whereas the HTML is the content, the style sheet is the presentation of that document.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Selector Property Value p {color: red;}
The property is followed by a color (:) and the value is followed by a semicolon(;)
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
There are three ways to apply CSS to HTM
Inline Affects only the element applied to Internal or Embedded Affects only elements in a single file. External Linked to an unlimited number of files.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
<p style=“color: red”> Hello Pailan !! </P>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
<style type=“text/css”> body { font-family: Tahoma, Arial, sans-serif; … } </style>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
<link rel=“stylesheet” type=“text/css” href=“web.css:/>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Inline style are applied straight into the HTML tags using the style attribute.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Internal styles are used for the whole page. Inside the head tags, the style tags surround all of the styles for the page
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
A script language that works with HTML to enhance web pages and make tem more interactive
Runs in a Web browser Embedded in HTML files and can
manipulate the HTML itself.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
To add dynamic function to your HTML JavaScript does things that HTML
can’t –like logic. You can change HTML on the fly. JavaScript can validate the data
the user enters into the form, before it is sent to your Web Application.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
In the HTML page itself: <html> <head> <script language=“javascript”> // JavaScript code </script> </head> As a file, linked from the HTML
page <head> <script language=“javascript” src=“script.js”> </script> </head>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
1. Image Zoom2. Image Menu3. Shutter Menu4. Tabs5. Contact form Validation
Ph. No.: 8222066670, 4000670
Email: [email protected]
Website: www.batracomputercentre.com
ADDRESS:
SCO -15, Dayal Bagh,
Near Hanuman Mandir
Ambala Cantt-13300, Haryana
Ph. No.: 9729666670, 8222066670 &0171-4000670
Email ID: [email protected]
Website: www.batracomputercentre.com