SlideShare a Scribd company logo
Topics
What is Web Development
Basics Of CSS
Project- McDonals
Fundamentals of HTML
@parteek_118
@nishchay_veer
Why need
HTML,CSS,Javascript
Basic Structure of
HTML Document
Head Tag
The <head> element is a container for metadata (data about data) and is placed
between the <html> tag and the <body> tag.
Metadata is data about the HTML document. Metadata is not displayed.
Metadata typically define the document title, character set, styles, scripts, and
other meta information.
Paragraph Tag
The <p> tag defines a paragraph.
Browsers automatically add a single blank line before and after each <p> element.
Heading Tag
The <h1> to <h6> tags are used to define HTML headings.
<h1> defines the most important heading. <h6> defines the least important
heading.
Horizontal Rule
The <hr> tag defines a thematic break in an HTML page (e.g. a shift of topic).
The <hr> element is most often displayed as a horizontal rule that is used to separate content (or define a
change) in an HTML page.
Break Tag
The <br> tag inserts a single line break
Self closing tag
Unordered List
The <ul> tag defines an unordered (bulleted) list
Use the <ul> tag together with the <li> tag to create unordered lists
Ordered List
The <ol> tag defines an ordered list. An ordered list can be numerical or
alphabetical
The <li> tag is used to define each list item
<a href="https://www.hackmol.tech">HackMOL</a>
Anchor tag
Hypertext
Reference
Page to Load Text to be displayed
< i m g s r c = " n i t J a l a n d h a r . p n g " / >
Image tag
Name of the image
Source
Self closing tag
src Attribute provides the name and extension of image file
Make sure images are in the same folder as html file
Division tag
Used to divide webpage into different section or division
Basically used to apply different CSS effects to different section of
webpage
Table
Price List
Table row(<tr>)
Table heading(<th>)
Apple
Mango
50
80 Table data(<td>)
<table>
Table
prices
Apple
Mango
50
80
CSS stands for Cascading Style Sheets
CSS describes how HTML elements are to be
displayed on screen, paper, or in other media
we can Design,add colors, change fonts, add
Animations to our website to present the website in
a more redable format
CSS
Syntax of CSS
CSS Selector
in order to style the website we need to select the HTML element to be
style.
This is Done with the help of CSS selectors
The element selector
selects HTML elements
based on the element
name
1 .Element Selector
CSS Selector
selects HTML elements with a specific class attribute.
To select elements with a specific class, write a period (.) character,
followed by the class name.
2. Class Selector
uses the id attribute of an HTML element to select an element.
Id of an Element is unique within a page,so it is used to select one
unique elementCodre
3. Id Selector
CSS Selector
Types of CSS
Inline CSS
Internal CSS
External CSS
Inline CSS
The style information is added directly to one particular element using its
style attribute.
Internal CSS
An internal CSS is used to
define a style for a single
HTML page.
It is defined in the <head>
section of an HTML page,
within a <style> tag.
External CSS
The entire CSS style is written in one CSS file with a ".css"
extension.
The file is Linked to the HTML with a link tag
Adding Color
Color keyword
RGB Values
HEX values
HSL values
There are several different ways to specify colors in CSS.
The easiest way to specify a color is using predefined color keywords
specified in CSS.
Color keyword
RGB colors have three values that represent: red, green, and blue
Each value can be a number between 0 and 255 or a percentage
from 0 to 100%
A value of 0 means none of that color is being used
A value of 255 or 100% means all of that color is being used
RGB values
The most common way to represent colors in CSS
It is an another way to represent the RGB values.
Instead of using three numbers between 0 and 255, you use six hexadecimal
numbers. Hex numbers can be 0-9 and A-F
HEX values
Background Properties
background-image
background-color
background-position
background-repeat
A property of the CSS which sets all background style
at once such as color, image,size and repeat method
Properties:
font-size
color
font weight
font-style
text-transform
text-decoration
To change the way our fonts looks we have several properties we can change
1.
2.
3.
4.
5.
6.
Font & Text
Font Size And Color
CSS font size property is used to change the size of the
font
CSS Color property is used to change the color of font
Font Style And Weight
CSS font style property specifies the font style for a text like
italic,oblique,normal
CSS font weight property defines the weight of the font and specify
that how bold a font is
CSS font weight can be from 100 to 900
Font Family
It is used to change the face of the font
CSS Borders
borer-style
border-width
border-radius
border-color
The CSS border properties allow you to specify the style, width, and color
of an element's border.
Border Styles:
CSS Borders
The CSS box model is essentially a box that wraps around every HTML element.
It consists of: margins, borders, padding, and the actual content
CSS Box Model
padding-top
padding-right
padding-bottom
padding-left
padding :{ top, right, bottom, left }
The CSS padding properties are used to generate space around an element's
content, inside of any defined borders.
CSS has properties for specifying the padding for each side of an element:
Syntax :
Padding
margin-bottom
margin-left
margin-right
margin-top
margin :{ top, right, bottom, left }
The CSS margin properties are used to create space around elements,
outside of any defined borders.
This property is a shorthand for the following CSS properties:
Syntax :
Margins
Web day01 MOL.pdf

More Related Content

Similar to Web day01 MOL.pdf

Css
CssCss
Web - CSS 1.pptx
Web - CSS 1.pptxWeb - CSS 1.pptx
Web - CSS 1.pptx
haroon451422
 
CSS
CSSCSS
CSS Presentation Notes.pptx
CSS Presentation Notes.pptxCSS Presentation Notes.pptx
CSS Presentation Notes.pptx
VineetaSingh713208
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
Singsys Pte Ltd
 
CSS tutorial chapter 1
CSS tutorial chapter 1CSS tutorial chapter 1
CSS tutorial chapter 1
jeweltutin
 
CSS Basics part One
CSS Basics part OneCSS Basics part One
CSS Basics part One
M Ashraful Islam Jewel
 
chitra
chitrachitra
chitra
sweet chitra
 
Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratch
Ahmad Al-ammar
 
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
Meenakshi Paul
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
vishal choudhary
 
Web.pdf
Web.pdfWeb.pdf
WebDesigning.pptx
WebDesigning.pptxWebDesigning.pptx
WebDesigning.pptx
PranshuYadav27
 
Css introduction
Css introductionCss introduction
Css introduction
Sridhar P
 
Css
CssCss
Css introduction
Css  introductionCss  introduction
Css introduction
vishnu murthy
 
CSS - LinkedIn
CSS - LinkedInCSS - LinkedIn
WT CSS
WT  CSSWT  CSS
WT CSS
Mohan186867
 
2_css.pptx
2_css.pptx2_css.pptx
2_css.pptx
VarunMM2
 
2_css.pptx
2_css.pptx2_css.pptx
2_css.pptx
VarunMM2
 

Similar to Web day01 MOL.pdf (20)

Css
CssCss
Css
 
Web - CSS 1.pptx
Web - CSS 1.pptxWeb - CSS 1.pptx
Web - CSS 1.pptx
 
CSS
CSSCSS
CSS
 
CSS Presentation Notes.pptx
CSS Presentation Notes.pptxCSS Presentation Notes.pptx
CSS Presentation Notes.pptx
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
CSS tutorial chapter 1
CSS tutorial chapter 1CSS tutorial chapter 1
CSS tutorial chapter 1
 
CSS Basics part One
CSS Basics part OneCSS Basics part One
CSS Basics part One
 
chitra
chitrachitra
chitra
 
Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratch
 
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Web.pdf
Web.pdfWeb.pdf
Web.pdf
 
WebDesigning.pptx
WebDesigning.pptxWebDesigning.pptx
WebDesigning.pptx
 
Css introduction
Css introductionCss introduction
Css introduction
 
Css
CssCss
Css
 
Css introduction
Css  introductionCss  introduction
Css introduction
 
CSS - LinkedIn
CSS - LinkedInCSS - LinkedIn
CSS - LinkedIn
 
WT CSS
WT  CSSWT  CSS
WT CSS
 
2_css.pptx
2_css.pptx2_css.pptx
2_css.pptx
 
2_css.pptx
2_css.pptx2_css.pptx
2_css.pptx
 

Recently uploaded

Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 

Recently uploaded (20)

Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 

Web day01 MOL.pdf

  • 1. Topics What is Web Development Basics Of CSS Project- McDonals Fundamentals of HTML @parteek_118 @nishchay_veer
  • 3.
  • 5. Head Tag The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. Metadata is data about the HTML document. Metadata is not displayed. Metadata typically define the document title, character set, styles, scripts, and other meta information.
  • 6. Paragraph Tag The <p> tag defines a paragraph. Browsers automatically add a single blank line before and after each <p> element.
  • 7. Heading Tag The <h1> to <h6> tags are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading.
  • 8. Horizontal Rule The <hr> tag defines a thematic break in an HTML page (e.g. a shift of topic). The <hr> element is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page.
  • 9. Break Tag The <br> tag inserts a single line break Self closing tag
  • 10. Unordered List The <ul> tag defines an unordered (bulleted) list Use the <ul> tag together with the <li> tag to create unordered lists
  • 11. Ordered List The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical The <li> tag is used to define each list item
  • 13. < i m g s r c = " n i t J a l a n d h a r . p n g " / > Image tag Name of the image Source Self closing tag src Attribute provides the name and extension of image file Make sure images are in the same folder as html file
  • 14. Division tag Used to divide webpage into different section or division Basically used to apply different CSS effects to different section of webpage
  • 15. Table Price List Table row(<tr>) Table heading(<th>) Apple Mango 50 80 Table data(<td>) <table>
  • 17. CSS stands for Cascading Style Sheets CSS describes how HTML elements are to be displayed on screen, paper, or in other media we can Design,add colors, change fonts, add Animations to our website to present the website in a more redable format CSS
  • 19. CSS Selector in order to style the website we need to select the HTML element to be style. This is Done with the help of CSS selectors The element selector selects HTML elements based on the element name 1 .Element Selector
  • 20. CSS Selector selects HTML elements with a specific class attribute. To select elements with a specific class, write a period (.) character, followed by the class name. 2. Class Selector
  • 21. uses the id attribute of an HTML element to select an element. Id of an Element is unique within a page,so it is used to select one unique elementCodre 3. Id Selector CSS Selector
  • 22. Types of CSS Inline CSS Internal CSS External CSS Inline CSS The style information is added directly to one particular element using its style attribute.
  • 23. Internal CSS An internal CSS is used to define a style for a single HTML page. It is defined in the <head> section of an HTML page, within a <style> tag.
  • 24. External CSS The entire CSS style is written in one CSS file with a ".css" extension. The file is Linked to the HTML with a link tag
  • 25. Adding Color Color keyword RGB Values HEX values HSL values There are several different ways to specify colors in CSS.
  • 26. The easiest way to specify a color is using predefined color keywords specified in CSS. Color keyword
  • 27. RGB colors have three values that represent: red, green, and blue Each value can be a number between 0 and 255 or a percentage from 0 to 100% A value of 0 means none of that color is being used A value of 255 or 100% means all of that color is being used RGB values
  • 28. The most common way to represent colors in CSS It is an another way to represent the RGB values. Instead of using three numbers between 0 and 255, you use six hexadecimal numbers. Hex numbers can be 0-9 and A-F HEX values
  • 29. Background Properties background-image background-color background-position background-repeat A property of the CSS which sets all background style at once such as color, image,size and repeat method Properties:
  • 30. font-size color font weight font-style text-transform text-decoration To change the way our fonts looks we have several properties we can change 1. 2. 3. 4. 5. 6. Font & Text
  • 31. Font Size And Color CSS font size property is used to change the size of the font CSS Color property is used to change the color of font
  • 32. Font Style And Weight CSS font style property specifies the font style for a text like italic,oblique,normal CSS font weight property defines the weight of the font and specify that how bold a font is CSS font weight can be from 100 to 900
  • 33. Font Family It is used to change the face of the font
  • 34. CSS Borders borer-style border-width border-radius border-color The CSS border properties allow you to specify the style, width, and color of an element's border. Border Styles:
  • 36. The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content CSS Box Model
  • 37. padding-top padding-right padding-bottom padding-left padding :{ top, right, bottom, left } The CSS padding properties are used to generate space around an element's content, inside of any defined borders. CSS has properties for specifying the padding for each side of an element: Syntax : Padding
  • 38. margin-bottom margin-left margin-right margin-top margin :{ top, right, bottom, left } The CSS margin properties are used to create space around elements, outside of any defined borders. This property is a shorthand for the following CSS properties: Syntax : Margins