SlideShare a Scribd company logo
Today’s Topics
What is HTML
Definition
History
How it Works
Basic Structure
Types of tags
Basic tags
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
What is CSS
How does CSS affects
HTML
Types of CSS
Explain types:
Inline Style
Internal Style
External Style
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
What is HTML
• HTML stands for Hyper Text Markup
Language, which is the most widely used
language on Web to develop web pages.
• HTML is a computer language devised to allow
website creation. These websites can then be
viewed by anyone else connected to the
Internet.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Definition of HTML
• HyperText is the method by which you move
around on the web — by clicking on special
text called hyperlinks which bring you to the
next page.
• Markup is what HTML tags do to the text
inside them. They mark it as a certain type of
text (italicised text, for example).
• HTML is a Language, as it has code-words and
syntax like any other language.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
History of HTML
HTML was created by Berners-Lee in late 1991
but "HTML 2.0" was the first standard HTML
specification which was published in 1995.
HTML 4.01 was a major version of HTML and it
was published in late 1999. Though HTML 4.01
version is widely used but currently we are
having HTML-5 version which is an extension to
HTML 4.01, and this version was published in
2012.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
How Does it Work
HTML consists of a series of short codes typed into
a text-file by the site author — these are the tags.
The text is then saved as a html file, and viewed
through a browser, like Internet
Explorer or Netscape Navigator. This browser reads
the file and translates the text into a visible form,
hopefully rendering the page as the author had
intended. Writing your own HTML entails using tags
correctly to create your vision. You can use anything
from a rudimentary text-editor to a powerful
graphical editor to create HTML pages
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Basic Structure of HTML
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Types of Tags
Container Tags Empty Tags
Container tags have a
beginning and an end tag, the
end tag is similar to the
beginning tag but with a “/”
sign in front of it.
Empty tags are standalone tag
and do not have en end tag.
Example:- <b>and</b> Example:- <br>
<table>and</table>etc. <hr> etc.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Basic Tags
• Heading Tag:
– Any document starts with a heading. You can use
different sizes for your headings. HTML also has
six levels of headings, which use the
elements <h1>, <h2>, <h3>, <h4>, <h5>, and
<h6>. While displaying any heading, browser adds
one line before and one line after that heading.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Heading Tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of code Output
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
• Paragraph Tag
– The <p> tag offers a way to structure your text
into different paragraphs. Each paragraph of text
should go in between an opening <p> and a
closing </p> tag.
– This tag indicates the starting of a paragraph.
Example of Paragraph Tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of code Output
• Line Break Tag
– Whenever you use the <br /> element, anything
following it starts from the next line. This tag is an
example of an empty element, where you do not
need opening and closing tags, as there is nothing to
go in between them.
– The <br /> tag has a space between the
characters br and the forward slash. If you omit this
space, older browsers will have trouble rendering the
line break, while if you miss the forward slash
character and just use <br> it is not valid in XHTML
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Line Break Tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of code Output
• Horizontal Lines
– Horizontal lines are used to visually break up
sections of a document.
– The <hr>tag creates a line from the current
position in the document to the right margin and
breaks the line accordingly.
– The <hr> tag defines a thematic break in an HTML
page .
– The <hr> element is used to separate content (or
define a change) in an HTML page.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Horizontal Line
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of code Output
• Image Tag
– The HTML <img> tag is used to put an image in an
HTML document.
– The <img> tag has two required attributes: src and
alt.
– To link an image to another document, simply nest
the <img> tag inside <a> tags.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Image Tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of code Output
• Table Tag
– The HTML tables allow web authors to arrange data
like text, images, links, other tables, etc. into rows and
columns of cells.
– The HTML tables are created using the <table> tag in
which the <tr> tag is used to create table rows
and <td> tag is used to create data cells.
– It includes three elements in it as <th>, <tr>, <td>.
– The <tr> element defines a table row, the <th>
element defines a table header, and the <td>
element defines a table cell.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Table Tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of code Output
• Anchor Tag
– The <a> tag defines a hyperlink, which is used to
link from one page to another.
– A link is specified using HTML tag <a>. This tag is
called anchor tag and anything between the
opening <a> tag and the closing </a> tag becomes
part of the link and a user can click that part to
reach to the linked document. Following is the
simple syntax to use <a> tag.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Anchor Tag
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
What is CSS
• The technology behind style sheet is called
CSS, which stands for Cascading Style Sheets.
• CSS is a language that defines style constructs
such as font, color, and positioning, which are
used to describe how information on a web
page is formatted and displayed.
• CSS styles can be stored in an HTML webpage
or in a separate style sheet file.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
How does CSS affect HTML
Web browsers apply CSS rules to a document to
affect how they are displayed. A CSS rule is formed
from:
• A set of Properties, which have values set to
update how the HTML content is displayed, for
example I want my element's width to be 50% of
its parent element, and its background to be red.
• A selector, which selects the element(s) you want
to apply the updated property values to. For
example, I want to apply my CSS rule to all the
paragraphs in my HTML document
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Types of CSS
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Types of CSS
When a browser reads a style sheet, it will
format the HTML document according to the
information in the style sheet. There are 3 types
of style sheets. The difference is where the style
is defined and the area where that style is
applied. These are:
o Inline Style
o Internal Style Sheet
o External Style Sheet
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Inline Styles
• An inline style may be used to apply a unique
style for a single element.
• To use inline styles, add the style attribute to
the relevant element. The style attribute can
contain any CSS property
• Inline style sheet within a tag. Applies only to
that particular occurrence of that tag.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Inline Style
• The sytax for inline styles is slightly simpler than
that of Internal and External styles in that there
is no selector and no curly brackets.
– Syntax:-
<element STYLE="property:value">
– Example:-
<h1 style="color:blue;margin-left:30px;">This is a Inline
Style</h1>
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Internal Style Sheets
• An internal style sheet may be used if one
single page has a unique style.
• The definition is written once in In the head
part of a page. It must be written on every
page that requires that style.
• Internal styles are placed at the top of each
web page document, before any of the
content is listed.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of Internal Style Sheet
• The Internal style sheet is defined within the
head section.
– Syntax:-
<head>
< style type="text/css">
Your Style definitions
go here
< /style>
< /head>
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
– Example:-
<head>
< style type="text/css">
Body {background-color:
#3333FF; color: #000033;}
p {margin-left: 6px}
< /style>
< /head>
External Style Sheets
• With an External style sheet, you can change
the look of an entire website by changing just
one file!
• External style sheets are separate files full of
CSS instructions (with the file extension .css).
• Each page must include a reference to the
external style sheet file inside the <link>
element.
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Example of External Style Sheets
• The <link> element goes inside the <head>
section:
<head>
<link rel="stylesheet" type="text/css" href="mysty
le.css">
</head>
• Here is how the "mystyle.css" looks:
body {
background-color: lightblue;
}
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
CONTACT US
BATRA COMPUTER CENTRE
SCO 15, Dayal Bagh,
Near Hanuman Mandir,
Ambala Cantt.
Phn No.: 9729666670,0171-4000670
Email: info.jatinbatra@gmail.com
Website: www.batracomputercentre.com
Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com

More Related Content

Viewers also liked

Design your first website using HTML
Design your first website using HTMLDesign your first website using HTML
Design your first website using HTML
Bunty Jain
 
JavaScript Training in Ambala ! Batra Computer Centre
JavaScript Training in Ambala ! Batra Computer CentreJavaScript Training in Ambala ! Batra Computer Centre
JavaScript Training in Ambala ! Batra Computer Centre
jatin batra
 
Web Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer CentreWeb Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer Centre
jatin batra
 
External & Internal Storage Device ! Batra Computer Centre
External & Internal Storage Device ! Batra Computer CentreExternal & Internal Storage Device ! Batra Computer Centre
External & Internal Storage Device ! Batra Computer Centre
jatin batra
 
MS Office 2010 Training Centre in Ambala ! Batra Computer Centre
MS Office 2010 Training Centre in Ambala ! Batra Computer CentreMS Office 2010 Training Centre in Ambala ! Batra Computer Centre
MS Office 2010 Training Centre in Ambala ! Batra Computer Centre
jatin batra
 
Html, Css, Java Script
Html, Css, Java ScriptHtml, Css, Java Script
Html, Css, Java Script
Business School «Digitov»
 
Html explicacion grado 10
Html explicacion grado 10Html explicacion grado 10
Html explicacion grado 10
Lic. Oney Begambre
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
David Lindkvist
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
Brainware Consultancy Pvt Ltd
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 

Viewers also liked (10)

Design your first website using HTML
Design your first website using HTMLDesign your first website using HTML
Design your first website using HTML
 
JavaScript Training in Ambala ! Batra Computer Centre
JavaScript Training in Ambala ! Batra Computer CentreJavaScript Training in Ambala ! Batra Computer Centre
JavaScript Training in Ambala ! Batra Computer Centre
 
Web Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer CentreWeb Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer Centre
 
External & Internal Storage Device ! Batra Computer Centre
External & Internal Storage Device ! Batra Computer CentreExternal & Internal Storage Device ! Batra Computer Centre
External & Internal Storage Device ! Batra Computer Centre
 
MS Office 2010 Training Centre in Ambala ! Batra Computer Centre
MS Office 2010 Training Centre in Ambala ! Batra Computer CentreMS Office 2010 Training Centre in Ambala ! Batra Computer Centre
MS Office 2010 Training Centre in Ambala ! Batra Computer Centre
 
Html, Css, Java Script
Html, Css, Java ScriptHtml, Css, Java Script
Html, Css, Java Script
 
Html explicacion grado 10
Html explicacion grado 10Html explicacion grado 10
Html explicacion grado 10
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 

Similar to HTML & CSS Training Institute in Ambala ! Batra Computer Centre

Presentation on HTML By Batra Computer Centre
Presentation on HTML By Batra Computer CentrePresentation on HTML By Batra Computer Centre
Presentation on HTML By Batra Computer Centre
Batra Computer Centre
 
HTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer CentreHTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer Centre
jatin batra
 
HTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer CetreHTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer Cetre
jatin batra
 
Html Training in Ambala ! Batra Computer Centre
Html Training in Ambala ! Batra Computer CentreHtml Training in Ambala ! Batra Computer Centre
Html Training in Ambala ! Batra Computer Centre
jatin batra
 
HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer CentreHTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
jatin batra
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
ssuser568d77
 
Shreyansh_patni web developer
Shreyansh_patni web developerShreyansh_patni web developer
Shreyansh_patni web developer
Shreyanshpatni5
 
Html
HtmlHtml
HTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer CentreHTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer Centre
jatin batra
 
Css introduction
Css introductionCss introduction
Css introduction
Sridhar P
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
Joseph Gabriel
 
ch04-css-basics_final.ppt
ch04-css-basics_final.pptch04-css-basics_final.ppt
ch04-css-basics_final.ppt
GmachImen
 
Css
CssCss
Learn HTML Step By Step
Learn HTML Step By StepLearn HTML Step By Step
Learn HTML Step By Step
Satish Chandra
 
Women in ITM Workshop: Intro to HTML and CSS
Women in ITM Workshop: Intro to HTML and CSSWomen in ITM Workshop: Intro to HTML and CSS
Women in ITM Workshop: Intro to HTML and CSS
Shanta Nathwani
 
Basics about front-end
Basics about front-endBasics about front-end
Basics about front-end
CETPA Infotech
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
elayelily
 
Html
HtmlHtml
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptxHTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
TEJASARGADE5
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 

Similar to HTML & CSS Training Institute in Ambala ! Batra Computer Centre (20)

Presentation on HTML By Batra Computer Centre
Presentation on HTML By Batra Computer CentrePresentation on HTML By Batra Computer Centre
Presentation on HTML By Batra Computer Centre
 
HTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer CentreHTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer Centre
 
HTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer CetreHTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer Cetre
 
Html Training in Ambala ! Batra Computer Centre
Html Training in Ambala ! Batra Computer CentreHtml Training in Ambala ! Batra Computer Centre
Html Training in Ambala ! Batra Computer Centre
 
HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer CentreHTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
HTML, CSS And JavaScript Training Institute in Ambala ! Batra Computer Centre
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
 
Shreyansh_patni web developer
Shreyansh_patni web developerShreyansh_patni web developer
Shreyansh_patni web developer
 
Html
HtmlHtml
Html
 
HTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer CentreHTML Training Institute in Ambala ! Batra Computer Centre
HTML Training Institute in Ambala ! Batra Computer Centre
 
Css introduction
Css introductionCss introduction
Css introduction
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
ch04-css-basics_final.ppt
ch04-css-basics_final.pptch04-css-basics_final.ppt
ch04-css-basics_final.ppt
 
Css
CssCss
Css
 
Learn HTML Step By Step
Learn HTML Step By StepLearn HTML Step By Step
Learn HTML Step By Step
 
Women in ITM Workshop: Intro to HTML and CSS
Women in ITM Workshop: Intro to HTML and CSSWomen in ITM Workshop: Intro to HTML and CSS
Women in ITM Workshop: Intro to HTML and CSS
 
Basics about front-end
Basics about front-endBasics about front-end
Basics about front-end
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
 
Html
HtmlHtml
Html
 
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptxHTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 

More from jatin batra

Best SMO Training &Coaching in Ambala
Best SMO Training &Coaching in AmbalaBest SMO Training &Coaching in Ambala
Best SMO Training &Coaching in Ambala
jatin batra
 
Best HTML Training &Coaching in Ambala
Best HTML Training &Coaching in AmbalaBest HTML Training &Coaching in Ambala
Best HTML Training &Coaching in Ambala
jatin batra
 
Best SEO Training & Coaching in Ambala
Best SEO Training & Coaching in AmbalaBest SEO Training & Coaching in Ambala
Best SEO Training & Coaching in Ambala
jatin batra
 
Best Photoshop Training in Ambala
 Best Photoshop Training  in Ambala Best Photoshop Training  in Ambala
Best Photoshop Training in Ambala
jatin batra
 
Best C Programming Training & Coaching in Ambala
Best C Programming Training & Coaching in AmbalaBest C Programming Training & Coaching in Ambala
Best C Programming Training & Coaching in Ambala
jatin batra
 
BASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTT
BASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTTBASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTT
BASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTT
jatin batra
 
Web Browser ! Batra Computer Centre
Web Browser ! Batra Computer CentreWeb Browser ! Batra Computer Centre
Web Browser ! Batra Computer Centre
jatin batra
 
Search Engine Training in Ambala ! Batra Computer Centre
Search Engine Training in Ambala ! Batra Computer CentreSearch Engine Training in Ambala ! Batra Computer Centre
Search Engine Training in Ambala ! Batra Computer Centre
jatin batra
 
Networking Training in Ambala ! Batra Computer Centre
Networking Training in Ambala ! Batra Computer CentreNetworking Training in Ambala ! Batra Computer Centre
Networking Training in Ambala ! Batra Computer Centre
jatin batra
 
SQL Training in Ambala ! BATRA COMPUTER CENTRE
SQL Training in Ambala ! BATRA COMPUTER CENTRESQL Training in Ambala ! BATRA COMPUTER CENTRE
SQL Training in Ambala ! BATRA COMPUTER CENTRE
jatin batra
 
Networking ! BATRA COMPUTER CENTRE
Networking ! BATRA COMPUTER CENTRENetworking ! BATRA COMPUTER CENTRE
Networking ! BATRA COMPUTER CENTRE
jatin batra
 
Ms Office 2010 Training in Ambala ! BATRA COMPUTER CENTRE
Ms Office 2010 Training in Ambala ! BATRA COMPUTER CENTREMs Office 2010 Training in Ambala ! BATRA COMPUTER CENTRE
Ms Office 2010 Training in Ambala ! BATRA COMPUTER CENTRE
jatin batra
 
Basic Computer Training Centre in Ambala ! BATRA COMPUTER CENTRE
Basic Computer Training Centre in Ambala ! BATRA COMPUTER CENTREBasic Computer Training Centre in Ambala ! BATRA COMPUTER CENTRE
Basic Computer Training Centre in Ambala ! BATRA COMPUTER CENTRE
jatin batra
 
Corel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRE
Corel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRECorel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRE
Corel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRE
jatin batra
 
Basic Computer Training Institute ! BATRA COMPUTER CENTRE
Basic Computer Training Institute ! BATRA COMPUTER CENTREBasic Computer Training Institute ! BATRA COMPUTER CENTRE
Basic Computer Training Institute ! BATRA COMPUTER CENTRE
jatin batra
 
Benefits of Web Browser ! Batra Computer Centre
Benefits of Web Browser ! Batra Computer CentreBenefits of Web Browser ! Batra Computer Centre
Benefits of Web Browser ! Batra Computer Centre
jatin batra
 
SEO Training in Ambala ! Batra Computer Centre
SEO Training in Ambala ! Batra Computer CentreSEO Training in Ambala ! Batra Computer Centre
SEO Training in Ambala ! Batra Computer Centre
jatin batra
 
Internet Training Centre in Ambala ! Batra Computer Centre
Internet Training Centre in Ambala ! Batra Computer CentreInternet Training Centre in Ambala ! Batra Computer Centre
Internet Training Centre in Ambala ! Batra Computer Centre
jatin batra
 
Basic Computer Training Centre in Ambala ! Batra Computer Centre
Basic Computer Training Centre in Ambala ! Batra Computer CentreBasic Computer Training Centre in Ambala ! Batra Computer Centre
Basic Computer Training Centre in Ambala ! Batra Computer Centre
jatin batra
 
Web Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer CentreWeb Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer Centre
jatin batra
 

More from jatin batra (20)

Best SMO Training &Coaching in Ambala
Best SMO Training &Coaching in AmbalaBest SMO Training &Coaching in Ambala
Best SMO Training &Coaching in Ambala
 
Best HTML Training &Coaching in Ambala
Best HTML Training &Coaching in AmbalaBest HTML Training &Coaching in Ambala
Best HTML Training &Coaching in Ambala
 
Best SEO Training & Coaching in Ambala
Best SEO Training & Coaching in AmbalaBest SEO Training & Coaching in Ambala
Best SEO Training & Coaching in Ambala
 
Best Photoshop Training in Ambala
 Best Photoshop Training  in Ambala Best Photoshop Training  in Ambala
Best Photoshop Training in Ambala
 
Best C Programming Training & Coaching in Ambala
Best C Programming Training & Coaching in AmbalaBest C Programming Training & Coaching in Ambala
Best C Programming Training & Coaching in Ambala
 
BASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTT
BASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTTBASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTT
BASIC COMPUTER TRAINING & COACHING CENTRE IN AMBALA CANTT
 
Web Browser ! Batra Computer Centre
Web Browser ! Batra Computer CentreWeb Browser ! Batra Computer Centre
Web Browser ! Batra Computer Centre
 
Search Engine Training in Ambala ! Batra Computer Centre
Search Engine Training in Ambala ! Batra Computer CentreSearch Engine Training in Ambala ! Batra Computer Centre
Search Engine Training in Ambala ! Batra Computer Centre
 
Networking Training in Ambala ! Batra Computer Centre
Networking Training in Ambala ! Batra Computer CentreNetworking Training in Ambala ! Batra Computer Centre
Networking Training in Ambala ! Batra Computer Centre
 
SQL Training in Ambala ! BATRA COMPUTER CENTRE
SQL Training in Ambala ! BATRA COMPUTER CENTRESQL Training in Ambala ! BATRA COMPUTER CENTRE
SQL Training in Ambala ! BATRA COMPUTER CENTRE
 
Networking ! BATRA COMPUTER CENTRE
Networking ! BATRA COMPUTER CENTRENetworking ! BATRA COMPUTER CENTRE
Networking ! BATRA COMPUTER CENTRE
 
Ms Office 2010 Training in Ambala ! BATRA COMPUTER CENTRE
Ms Office 2010 Training in Ambala ! BATRA COMPUTER CENTREMs Office 2010 Training in Ambala ! BATRA COMPUTER CENTRE
Ms Office 2010 Training in Ambala ! BATRA COMPUTER CENTRE
 
Basic Computer Training Centre in Ambala ! BATRA COMPUTER CENTRE
Basic Computer Training Centre in Ambala ! BATRA COMPUTER CENTREBasic Computer Training Centre in Ambala ! BATRA COMPUTER CENTRE
Basic Computer Training Centre in Ambala ! BATRA COMPUTER CENTRE
 
Corel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRE
Corel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRECorel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRE
Corel Draw Training Institute in Ambala ! BATRA COMPUTER CENTRE
 
Basic Computer Training Institute ! BATRA COMPUTER CENTRE
Basic Computer Training Institute ! BATRA COMPUTER CENTREBasic Computer Training Institute ! BATRA COMPUTER CENTRE
Basic Computer Training Institute ! BATRA COMPUTER CENTRE
 
Benefits of Web Browser ! Batra Computer Centre
Benefits of Web Browser ! Batra Computer CentreBenefits of Web Browser ! Batra Computer Centre
Benefits of Web Browser ! Batra Computer Centre
 
SEO Training in Ambala ! Batra Computer Centre
SEO Training in Ambala ! Batra Computer CentreSEO Training in Ambala ! Batra Computer Centre
SEO Training in Ambala ! Batra Computer Centre
 
Internet Training Centre in Ambala ! Batra Computer Centre
Internet Training Centre in Ambala ! Batra Computer CentreInternet Training Centre in Ambala ! Batra Computer Centre
Internet Training Centre in Ambala ! Batra Computer Centre
 
Basic Computer Training Centre in Ambala ! Batra Computer Centre
Basic Computer Training Centre in Ambala ! Batra Computer CentreBasic Computer Training Centre in Ambala ! Batra Computer Centre
Basic Computer Training Centre in Ambala ! Batra Computer Centre
 
Web Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer CentreWeb Designing Training in Ambala ! Batra Computer Centre
Web Designing Training in Ambala ! Batra Computer Centre
 

Recently uploaded

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 

Recently uploaded (20)

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 

HTML & CSS Training Institute in Ambala ! Batra Computer Centre

  • 1.
  • 2. Today’s Topics What is HTML Definition History How it Works Basic Structure Types of tags Basic tags Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com What is CSS How does CSS affects HTML Types of CSS Explain types: Inline Style Internal Style External Style
  • 3. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 4. What is HTML • HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. • HTML is a computer language devised to allow website creation. These websites can then be viewed by anyone else connected to the Internet. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 5. Definition of HTML • HyperText is the method by which you move around on the web — by clicking on special text called hyperlinks which bring you to the next page. • Markup is what HTML tags do to the text inside them. They mark it as a certain type of text (italicised text, for example). • HTML is a Language, as it has code-words and syntax like any other language. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 6. History of HTML HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 7. How Does it Work HTML consists of a series of short codes typed into a text-file by the site author — these are the tags. The text is then saved as a html file, and viewed through a browser, like Internet Explorer or Netscape Navigator. This browser reads the file and translates the text into a visible form, hopefully rendering the page as the author had intended. Writing your own HTML entails using tags correctly to create your vision. You can use anything from a rudimentary text-editor to a powerful graphical editor to create HTML pages Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 8. Basic Structure of HTML Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 9. Types of Tags Container Tags Empty Tags Container tags have a beginning and an end tag, the end tag is similar to the beginning tag but with a “/” sign in front of it. Empty tags are standalone tag and do not have en end tag. Example:- <b>and</b> Example:- <br> <table>and</table>etc. <hr> etc. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 10. Basic Tags • Heading Tag: – Any document starts with a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one line before and one line after that heading. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 11. Example of Heading Tag Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of code Output
  • 12. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com • Paragraph Tag – The <p> tag offers a way to structure your text into different paragraphs. Each paragraph of text should go in between an opening <p> and a closing </p> tag. – This tag indicates the starting of a paragraph.
  • 13. Example of Paragraph Tag Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of code Output
  • 14. • Line Break Tag – Whenever you use the <br /> element, anything following it starts from the next line. This tag is an example of an empty element, where you do not need opening and closing tags, as there is nothing to go in between them. – The <br /> tag has a space between the characters br and the forward slash. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use <br> it is not valid in XHTML Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 15. Example of Line Break Tag Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of code Output
  • 16. • Horizontal Lines – Horizontal lines are used to visually break up sections of a document. – The <hr>tag creates a line from the current position in the document to the right margin and breaks the line accordingly. – The <hr> tag defines a thematic break in an HTML page . – The <hr> element is used to separate content (or define a change) in an HTML page. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 17. Example of Horizontal Line Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of code Output
  • 18. • Image Tag – The HTML <img> tag is used to put an image in an HTML document. – The <img> tag has two required attributes: src and alt. – To link an image to another document, simply nest the <img> tag inside <a> tags. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 19. Example of Image Tag Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of code Output
  • 20. • Table Tag – The HTML tables allow web authors to arrange data like text, images, links, other tables, etc. into rows and columns of cells. – The HTML tables are created using the <table> tag in which the <tr> tag is used to create table rows and <td> tag is used to create data cells. – It includes three elements in it as <th>, <tr>, <td>. – The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 21. Example of Table Tag Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of code Output
  • 22. • Anchor Tag – The <a> tag defines a hyperlink, which is used to link from one page to another. – A link is specified using HTML tag <a>. This tag is called anchor tag and anything between the opening <a> tag and the closing </a> tag becomes part of the link and a user can click that part to reach to the linked document. Following is the simple syntax to use <a> tag. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 23. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com Example of Anchor Tag
  • 24. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 25. What is CSS • The technology behind style sheet is called CSS, which stands for Cascading Style Sheets. • CSS is a language that defines style constructs such as font, color, and positioning, which are used to describe how information on a web page is formatted and displayed. • CSS styles can be stored in an HTML webpage or in a separate style sheet file. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 26. How does CSS affect HTML Web browsers apply CSS rules to a document to affect how they are displayed. A CSS rule is formed from: • A set of Properties, which have values set to update how the HTML content is displayed, for example I want my element's width to be 50% of its parent element, and its background to be red. • A selector, which selects the element(s) you want to apply the updated property values to. For example, I want to apply my CSS rule to all the paragraphs in my HTML document Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 27. Types of CSS Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 28. Types of CSS When a browser reads a style sheet, it will format the HTML document according to the information in the style sheet. There are 3 types of style sheets. The difference is where the style is defined and the area where that style is applied. These are: o Inline Style o Internal Style Sheet o External Style Sheet Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 29. Inline Styles • An inline style may be used to apply a unique style for a single element. • To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property • Inline style sheet within a tag. Applies only to that particular occurrence of that tag. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 30. Example of Inline Style • The sytax for inline styles is slightly simpler than that of Internal and External styles in that there is no selector and no curly brackets. – Syntax:- <element STYLE="property:value"> – Example:- <h1 style="color:blue;margin-left:30px;">This is a Inline Style</h1> Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 31. Internal Style Sheets • An internal style sheet may be used if one single page has a unique style. • The definition is written once in In the head part of a page. It must be written on every page that requires that style. • Internal styles are placed at the top of each web page document, before any of the content is listed. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 32. Example of Internal Style Sheet • The Internal style sheet is defined within the head section. – Syntax:- <head> < style type="text/css"> Your Style definitions go here < /style> < /head> Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com – Example:- <head> < style type="text/css"> Body {background-color: #3333FF; color: #000033;} p {margin-left: 6px} < /style> < /head>
  • 33. External Style Sheets • With an External style sheet, you can change the look of an entire website by changing just one file! • External style sheets are separate files full of CSS instructions (with the file extension .css). • Each page must include a reference to the external style sheet file inside the <link> element. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 34. Example of External Style Sheets • The <link> element goes inside the <head> section: <head> <link rel="stylesheet" type="text/css" href="mysty le.css"> </head> • Here is how the "mystyle.css" looks: body { background-color: lightblue; } Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 35. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com
  • 36. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com CONTACT US BATRA COMPUTER CENTRE SCO 15, Dayal Bagh, Near Hanuman Mandir, Ambala Cantt. Phn No.: 9729666670,0171-4000670 Email: info.jatinbatra@gmail.com Website: www.batracomputercentre.com
  • 37. Ph. No. :9729666670,4000670 Website: www.batracomputercentre.com