SlideShare a Scribd company logo
Css.html
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
Anaghabalakrishnan
anaghabalakrishnan07@gmail.com
Anaghabalakrishnanchintu
twitter.com/username
in.linkedin.com/in/profilename
12345679
topic
CASCADING STYLE SHEET (CSS)
• Cascading style sheet are used to format the layout of Web
pages.
• They can be used to define text styles, table sizes, and other
aspects of Web pages that previously could only be defined in
a page’s HTML.
ADVANTAGES OF CSS
• CSS simplifies design changes.
• Separating content from design enables you to
create different style sheet for different
audiences and devices.
• As you get advanced with CSS, you can even
create multiple style sheets for the same Web
page.
CSS SYNTAX
A CSS rule set consist of a selectors and a declaration
block.
A CSS declaration always end with a semicolon, and a
declaration groups are surrounded by curly braces.
p {color: red; text-align: center;}
p-Selector.
{color: red; text-align: center;}-Declaration.
Where color and text-align is property, and blue and
center is value.
TYPES OF CSS STYLES
There are three types of CSS.
1. Internal (Embedded) Styles.
2. Inline Styles.
3. External Styles.
INTERNAL STYLES
• It holds the CSS code for the webpage in the
head section of the particular file.
• This makes it easy to apply styles like classes
or id’s in order to reuse the code.
• The downside of using an internal stylesheet
is that changes to the internal stylesheet only
effect the page the code is inserted into.
EXTERNAL STYLES
• It is a .css file that you link your website to.
• This makes it so that what ever you changes
in the .css sheet, will effect every page in your
website.
• This prevents you from having to many code
changes in each page. This is for “global” site
changes.
INLINE STYLES
• It is specific to the tag itself.
• The inline style uses the “HTML” style
attribute to style a specific tag. This is not
recommend, as every CSS changes has to be
made in every tag that has the inline style
applied to it
• .The inline style is good for one an individual
CSS changes that you do not use repeatedly
through the site.
CSS SELECTORS
CSS selectors allow you to select and manipulate HTML
elements.
CSS selectors are used to find (or select) HTML
elements based on their on id, class, type, attribute,
and more.
CSS selectors are ..
1. The element selector.
2. The id selector.
3. The class selector.
The element Selectors
It selects elements based on the element name.
We can select all <p> elements on a page like this: (all
<p> elements will be center-aligned, with a red text
color)
Example
p {
text-align: center;
color: red;
}
The id selector
The id selectors uses the id attribute of an HTML elements to
select a specific element.
The id selectors is used if you want to select a single ,unique
element.To select an element with a specific id,write a hash
character ,followed by the id of the element.
Example
#para1 {
text-align: center;
color: red;
}
The class selector
Class selectors selects elements with a specific
class attribute. To select elements with a specific
class, write a period character, followed by the
name of the class.
Example
.center {
text-align: center;
color: red;
}
Example of CSS
<html>
<head>
<style>
#rcorners {
Border-radius:25px;
Padding:20px;
Width:200px;
Height:150px;
}
</style></head>
<body>
<table border=“1”
id=“rcorners”cellpadding=“10”>
<tr><th colspan=“5”>EMPLOYEE
DETAILS</th></tr>
<tr>
<td>Name</td>
<td>Salary</td>
</tr>
<tr><td>anu</td><td>10000</td
></tr>
<tr><td>manu</td><td>10000</
td></tr>
</body>
</html>
Css.html
Css.html
Thankyou…
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

More Related Content

PDF
Web front end development introduction to html css and javascript
PPTX
Introduction to HTML and CSS
ODP
Introduction of Html/css/js
PDF
Html / CSS Presentation
PDF
HTML and CSS crash course!
PPTX
Html and css
PPTX
Css ppt
PDF
HTML CSS Basics
Web front end development introduction to html css and javascript
Introduction to HTML and CSS
Introduction of Html/css/js
Html / CSS Presentation
HTML and CSS crash course!
Html and css
Css ppt
HTML CSS Basics

What's hot (20)

PDF
Intro to HTML and CSS basics
PPTX
Complete Lecture on Css presentation
PDF
Web Typography
PDF
Introduction to HTML and CSS
PDF
HTML/CSS Crash Course (april 4 2017)
PDF
Frontend Crash Course: HTML and CSS
PDF
Div tag presentation
PPT
Introduction to Cascading Style Sheets (CSS)
PDF
Images on the Web
PPT
Introduction to CSS
PDF
Web Layout
PPTX
Cascading style sheet
PDF
Week 2-intro-html
PPTX
Beginners css tutorial for web designers
PDF
CSS Foundations, pt 1
PDF
CSS Foundations, pt 2
PPTX
PPT
How Cascading Style Sheets (CSS) Works
PPTX
(Fast) Introduction to HTML & CSS
Intro to HTML and CSS basics
Complete Lecture on Css presentation
Web Typography
Introduction to HTML and CSS
HTML/CSS Crash Course (april 4 2017)
Frontend Crash Course: HTML and CSS
Div tag presentation
Introduction to Cascading Style Sheets (CSS)
Images on the Web
Introduction to CSS
Web Layout
Cascading style sheet
Week 2-intro-html
Beginners css tutorial for web designers
CSS Foundations, pt 1
CSS Foundations, pt 2
How Cascading Style Sheets (CSS) Works
(Fast) Introduction to HTML & CSS
Ad

Viewers also liked (13)

PDF
A Brief History Of Social Media
PPT
Span and Div tags in HTML
PPTX
10 things that make a good music video
PPTX
History of Social Media
PPTX
The history of social networks: how it all began
PPT
Social networking
PPT
Html & Css presentation
PPT
Ip addressing
PPTX
Brief history of social media
PPT
Introduction to photoshop
PPT
Digital Storytelling
PPTX
Presentation on Adobe Photoshop
PPS
Ip address
A Brief History Of Social Media
Span and Div tags in HTML
10 things that make a good music video
History of Social Media
The history of social networks: how it all began
Social networking
Html & Css presentation
Ip addressing
Brief history of social media
Introduction to photoshop
Digital Storytelling
Presentation on Adobe Photoshop
Ip address
Ad

Similar to Css.html (20)

PPTX
Cascading Styling Sheets(CSS) simple design language intended to transform th...
PPTX
Cascading Style Sheets for web browser.pptx
PPTX
Introduction to Wed System And Technologies (1).pptx
PPTX
Web Development - Lecture 5
PPTX
Cascading style sheet, CSS Box model, Table in CSS
PDF
4. Web Technology CSS Basics-1
PPT
Rational HATS and CSS
PPTX
chitra
PPTX
css.ppt
PPTX
Unit 2 WT-CSS.pptx web technology project
PPTX
Introduction to CSS
PPTX
UNIT 3WOP fgfufhbuiibpvihbvpihivbhibvipuuvbiuvboi
PPTX
WEB TECHNOLOGY Unit-2.pptx
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
PPT
Chapter 4a cascade style sheet css
PPTX
PDF
CSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
PDF
Advanced Web Programming Chapter 8
PPTX
Cascading style sheet an introduction
Cascading Styling Sheets(CSS) simple design language intended to transform th...
Cascading Style Sheets for web browser.pptx
Introduction to Wed System And Technologies (1).pptx
Web Development - Lecture 5
Cascading style sheet, CSS Box model, Table in CSS
4. Web Technology CSS Basics-1
Rational HATS and CSS
chitra
css.ppt
Unit 2 WT-CSS.pptx web technology project
Introduction to CSS
UNIT 3WOP fgfufhbuiibpvihbvpihivbhibvipuuvbiuvboi
WEB TECHNOLOGY Unit-2.pptx
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Chapter 4a cascade style sheet css
CSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Advanced Web Programming Chapter 8
Cascading style sheet an introduction

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Institutional Correction lecture only . . .
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Insiders guide to clinical Medicine.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
master seminar digital applications in india
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Classroom Observation Tools for Teachers
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
Complications of Minimal Access Surgery at WLH
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Pharmacology of Heart Failure /Pharmacotherapy of CHF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPH.pptx obstetrics and gynecology in nursing
Institutional Correction lecture only . . .
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Anesthesia in Laparoscopic Surgery in India
Insiders guide to clinical Medicine.pdf
RMMM.pdf make it easy to upload and study
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
master seminar digital applications in india
Microbial disease of the cardiovascular and lymphatic systems
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
VCE English Exam - Section C Student Revision Booklet
Classroom Observation Tools for Teachers
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Pharma ospi slides which help in ospi learning
Complications of Minimal Access Surgery at WLH
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester

Css.html

  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4. CASCADING STYLE SHEET (CSS) • Cascading style sheet are used to format the layout of Web pages. • They can be used to define text styles, table sizes, and other aspects of Web pages that previously could only be defined in a page’s HTML.
  • 5. ADVANTAGES OF CSS • CSS simplifies design changes. • Separating content from design enables you to create different style sheet for different audiences and devices. • As you get advanced with CSS, you can even create multiple style sheets for the same Web page.
  • 6. CSS SYNTAX A CSS rule set consist of a selectors and a declaration block. A CSS declaration always end with a semicolon, and a declaration groups are surrounded by curly braces. p {color: red; text-align: center;} p-Selector. {color: red; text-align: center;}-Declaration. Where color and text-align is property, and blue and center is value.
  • 7. TYPES OF CSS STYLES There are three types of CSS. 1. Internal (Embedded) Styles. 2. Inline Styles. 3. External Styles.
  • 8. INTERNAL STYLES • It holds the CSS code for the webpage in the head section of the particular file. • This makes it easy to apply styles like classes or id’s in order to reuse the code. • The downside of using an internal stylesheet is that changes to the internal stylesheet only effect the page the code is inserted into.
  • 9. EXTERNAL STYLES • It is a .css file that you link your website to. • This makes it so that what ever you changes in the .css sheet, will effect every page in your website. • This prevents you from having to many code changes in each page. This is for “global” site changes.
  • 10. INLINE STYLES • It is specific to the tag itself. • The inline style uses the “HTML” style attribute to style a specific tag. This is not recommend, as every CSS changes has to be made in every tag that has the inline style applied to it • .The inline style is good for one an individual CSS changes that you do not use repeatedly through the site.
  • 11. CSS SELECTORS CSS selectors allow you to select and manipulate HTML elements. CSS selectors are used to find (or select) HTML elements based on their on id, class, type, attribute, and more. CSS selectors are .. 1. The element selector. 2. The id selector. 3. The class selector.
  • 12. The element Selectors It selects elements based on the element name. We can select all <p> elements on a page like this: (all <p> elements will be center-aligned, with a red text color) Example p { text-align: center; color: red; }
  • 13. The id selector The id selectors uses the id attribute of an HTML elements to select a specific element. The id selectors is used if you want to select a single ,unique element.To select an element with a specific id,write a hash character ,followed by the id of the element. Example #para1 { text-align: center; color: red; }
  • 14. The class selector Class selectors selects elements with a specific class attribute. To select elements with a specific class, write a period character, followed by the name of the class. Example .center { text-align: center; color: red; }
  • 15. Example of CSS <html> <head> <style> #rcorners { Border-radius:25px; Padding:20px; Width:200px; Height:150px; } </style></head> <body> <table border=“1” id=“rcorners”cellpadding=“10”> <tr><th colspan=“5”>EMPLOYEE DETAILS</th></tr> <tr> <td>Name</td> <td>Salary</td> </tr> <tr><td>anu</td><td>10000</td ></tr> <tr><td>manu</td><td>10000</ td></tr> </body> </html>
  • 19. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 20. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 21. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us