SlideShare a Scribd company logo
1 of 16
Download to read offline
Frontend Sessions
HTML5, CSS3, Javascript and Jquery
by: Seshu Puvvada
1
What ?
 what is web / static / dynamic application ?
 what is mobile web / native / hybrid application ?
2
By: Seshu Puvvada
What?
 What is HTML ?
 What is CSS ?
 What is Javascript ?
 What is HTTP?
3
By: Seshu Puvvada
Technologies and Frameworks
4
By: Seshu Puvvada
IDE ?
 Eclipse
 Notepad++
 Visual studio
 Webstrom
 Atom etc…
5
By: Seshu Puvvada
HTML Document Structure
 Parent and child structure
 doctype – declaration of standards compliance
 html – Root element
 head – Document metadata
 Used by browsers and search engines
 body – Document data
 Displayed to the users by the client browser
6
<!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
</head>
<body>
<h1>Welcome to HTML</h1>
</body>
</html>
By: Seshu Puvvada
<head> metadata
•Title of the document<title>
•Includes metadata of the application such as keywords,
description etc..<meta>
•Includes script<script>
•Define styles for body elements<style>
•Directive indicating related documents<link>
•Define base address for all relative links on the page<base>
7
By: Seshu Puvvada
Basic HTML Elements
 Headings h1 to h6
 Paragraph (p, pre)
 Links(a)
 Images(img)
 Attributes – provides additional information about an element
 Title
 Href
 Src
 Width, height
 Alt etc…
8
By: Seshu Puvvada
Text elements
 <b> - bold
 <strong> - strong
 <i> - italic
 <em> - emphasized
 <small> - small
 <mark> - marked
 <del> - deleted
 <sub> - subscript
 <sup> - superscript
9
By: Seshu Puvvada
HTML Style
 What is Style
 Inline styling
 <p style="color:red">This is a paragraph.</p>
 Internal styling - Using Style tag
 <style> p { color: red; } </style>
 External Style sheet
 mystyle.css
 Basic styling properties
 background-color, color, font-size, font-family, text-align, border, padding, margin
etc…
10
By: Seshu Puvvada
CSS Selectors
 Id selector
 #tagid{ css properties }
 Element selector
 h1{ css properties }
 Class selector
 .myheader{ css properties }
11
By: Seshu Puvvada
Block Vs Inline
 Block elements
 Container elements for grouping
 May contain other block or inline elements
 New lines appear
 Can have width and height, it takes whole page width
 Div, h1, p, form etc…
 Inline elements
 Container for text and other inline elements
 No new line before or after
 Has no width and height
 span, a, img etc..
12
By: Seshu Puvvada
CSS Box Model
13
By: Seshu Puvvada
HTML Links
 Anchor Element
 <a href="http://www.syntelinc.com">Welcome to syntel</a>
 What is target -- _self and _blank
 <a href="http://www.syntelinc.com" target="_blank">Welcome to syntel</a>
 Image with link
 <a href="http://www.syntelinc.com" target="_blank“>
<img src="welcome.jpg" />
</a>
 Bookmarking Section
 <a href="#Zaheer">Zaheer Khan Open to Bowling Coach Role in Indian Team </a>
14
By: Seshu Puvvada
HTML List
 Unordered list
 <ul>
<li>item name</li>
</ul>
 list-style-type:square, circle, disc
 Ordered list
 <ol>
<li>item name</li>
</ol>
 type = “1”, A, a, I, i
 List item
15
By: Seshu Puvvada
HTML Input elements
•<input type="text" name="username">
Text
•<input type="password" name="psw">
Password
•<input type="submit" value="Submit">
Submit
•<input type="radio" name=“accept" value=“yes" checked>
Radio
•<input type="checkbox" name=“country" value=“India">
Checkbox
16
By: Seshu Puvvada

More Related Content

What's hot

Web development basics (Part-1)
Web development basics (Part-1)Web development basics (Part-1)
Web development basics (Part-1)Rajat Pratap Singh
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS PresentationShawn Calvert
 
Java script writing javascript
Java script writing javascriptJava script writing javascript
Java script writing javascriptJesus Obenita Jr.
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Devang Garach
 
What's a web page made of?
What's a web page made of?What's a web page made of?
What's a web page made of?Charlie Allen
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopVero Rebagliatte
 
Component-Oriented Web Development with Dart
Component-Oriented Web Development with DartComponent-Oriented Web Development with Dart
Component-Oriented Web Development with DartC4Media
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom ManipulationMohammed Arif
 
JavaScript and jQuery Basics
JavaScript and jQuery BasicsJavaScript and jQuery Basics
JavaScript and jQuery BasicsKaloyan Kosev
 
Web Components - The Future is Here
Web Components - The Future is HereWeb Components - The Future is Here
Web Components - The Future is HereGil Fink
 
HTML CSS Best Practices
HTML CSS Best PracticesHTML CSS Best Practices
HTML CSS Best Practiceshoctudau
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSdanpaquette
 

What's hot (20)

HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Java script
Java scriptJava script
Java script
 
Web Development
Web DevelopmentWeb Development
Web Development
 
Web development basics (Part-1)
Web development basics (Part-1)Web development basics (Part-1)
Web development basics (Part-1)
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Java script writing javascript
Java script writing javascriptJava script writing javascript
Java script writing javascript
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3
 
What's a web page made of?
What's a web page made of?What's a web page made of?
What's a web page made of?
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
 
Basic JS
Basic JSBasic JS
Basic JS
 
Component-Oriented Web Development with Dart
Component-Oriented Web Development with DartComponent-Oriented Web Development with Dart
Component-Oriented Web Development with Dart
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom Manipulation
 
JavaScript and jQuery Basics
JavaScript and jQuery BasicsJavaScript and jQuery Basics
JavaScript and jQuery Basics
 
Suggest.js
Suggest.jsSuggest.js
Suggest.js
 
Web Components - The Future is Here
Web Components - The Future is HereWeb Components - The Future is Here
Web Components - The Future is Here
 
HTML CSS Best Practices
HTML CSS Best PracticesHTML CSS Best Practices
HTML CSS Best Practices
 
JS basics
JS basicsJS basics
JS basics
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
ActiveDOM
ActiveDOMActiveDOM
ActiveDOM
 
JavaScript and BOM events
JavaScript and BOM eventsJavaScript and BOM events
JavaScript and BOM events
 

Viewers also liked

S e r_v_i_c_i_o_w_e_b_2.0
S e r_v_i_c_i_o_w_e_b_2.0S e r_v_i_c_i_o_w_e_b_2.0
S e r_v_i_c_i_o_w_e_b_2.0carlosedustorms
 
sulfuric_acid process
sulfuric_acid processsulfuric_acid process
sulfuric_acid processTarik Bakeli
 
15 august.2016
15 august.201615 august.2016
15 august.2016Md Islam
 
Overview of Enforced Disappearance in Thailand
Overview of Enforced Disappearance in ThailandOverview of Enforced Disappearance in Thailand
Overview of Enforced Disappearance in ThailandMeawgyver Narak
 
Alamat ng langka
Alamat ng langkaAlamat ng langka
Alamat ng langkaMi L
 

Viewers also liked (10)

SOLIDWORKS 2016 Enterprise PDM
SOLIDWORKS 2016 Enterprise PDMSOLIDWORKS 2016 Enterprise PDM
SOLIDWORKS 2016 Enterprise PDM
 
S e r_v_i_c_i_o_w_e_b_2.0
S e r_v_i_c_i_o_w_e_b_2.0S e r_v_i_c_i_o_w_e_b_2.0
S e r_v_i_c_i_o_w_e_b_2.0
 
sulfuric_acid process
sulfuric_acid processsulfuric_acid process
sulfuric_acid process
 
15 august.2016
15 august.201615 august.2016
15 august.2016
 
Overview of Enforced Disappearance in Thailand
Overview of Enforced Disappearance in ThailandOverview of Enforced Disappearance in Thailand
Overview of Enforced Disappearance in Thailand
 
Mutual fund
Mutual fundMutual fund
Mutual fund
 
July 2016 Resume (DS)
July 2016 Resume (DS)July 2016 Resume (DS)
July 2016 Resume (DS)
 
Filipino 8 Alamat ng Durian
Filipino 8 Alamat ng DurianFilipino 8 Alamat ng Durian
Filipino 8 Alamat ng Durian
 
Maikling Kwento
Maikling KwentoMaikling Kwento
Maikling Kwento
 
Alamat ng langka
Alamat ng langkaAlamat ng langka
Alamat ng langka
 

Similar to Introduction to html & css

Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
 
New Css style
New Css styleNew Css style
New Css styleBUDNET
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup languageBasmaa Mostafa
 
Fecrash10:3:17 sd
Fecrash10:3:17 sdFecrash10:3:17 sd
Fecrash10:3:17 sdThinkful
 
Fecc cg-cb-11.14.17
Fecc cg-cb-11.14.17 Fecc cg-cb-11.14.17
Fecc cg-cb-11.14.17 Thinkful
 
Introduction to Html5, css, Javascript and Jquery
Introduction to Html5, css, Javascript and JqueryIntroduction to Html5, css, Javascript and Jquery
Introduction to Html5, css, Javascript and Jqueryvaluebound
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simpleJagadishBabuParri
 
Unit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.pptUnit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.pptTusharTikia
 
Webpage style with CSS
Webpage style with CSSWebpage style with CSS
Webpage style with CSSHemant Patidar
 
Fecc 12517-sd
Fecc 12517-sdFecc 12517-sd
Fecc 12517-sdThinkful
 

Similar to Introduction to html & css (20)

Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
New Css style
New Css styleNew Css style
New Css style
 
Css
CssCss
Css
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup language
 
Fecrash10:3:17 sd
Fecrash10:3:17 sdFecrash10:3:17 sd
Fecrash10:3:17 sd
 
Fecc cg-cb-11.14.17
Fecc cg-cb-11.14.17 Fecc cg-cb-11.14.17
Fecc cg-cb-11.14.17
 
Introduction to Html5, css, Javascript and Jquery
Introduction to Html5, css, Javascript and JqueryIntroduction to Html5, css, Javascript and Jquery
Introduction to Html5, css, Javascript and Jquery
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
 
Unit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.pptUnit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.ppt
 
Webpage style with CSS
Webpage style with CSSWebpage style with CSS
Webpage style with CSS
 
Introduction to HTML5 and CSS3
Introduction to HTML5 and CSS3Introduction to HTML5 and CSS3
Introduction to HTML5 and CSS3
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
 
Fecc 12517-sd
Fecc 12517-sdFecc 12517-sd
Fecc 12517-sd
 
Css
CssCss
Css
 
Styles.docx
Styles.docxStyles.docx
Styles.docx
 
Styles.docx
Styles.docxStyles.docx
Styles.docx
 
Styles.docx
Styles.docxStyles.docx
Styles.docx
 
Styles1.docx
Styles1.docxStyles1.docx
Styles1.docx
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 

Introduction to html & css

  • 1. Frontend Sessions HTML5, CSS3, Javascript and Jquery by: Seshu Puvvada 1
  • 2. What ?  what is web / static / dynamic application ?  what is mobile web / native / hybrid application ? 2 By: Seshu Puvvada
  • 3. What?  What is HTML ?  What is CSS ?  What is Javascript ?  What is HTTP? 3 By: Seshu Puvvada
  • 5. IDE ?  Eclipse  Notepad++  Visual studio  Webstrom  Atom etc… 5 By: Seshu Puvvada
  • 6. HTML Document Structure  Parent and child structure  doctype – declaration of standards compliance  html – Root element  head – Document metadata  Used by browsers and search engines  body – Document data  Displayed to the users by the client browser 6 <!DOCTYPE html> <html> <head> <title>Welcome</title> </head> <body> <h1>Welcome to HTML</h1> </body> </html> By: Seshu Puvvada
  • 7. <head> metadata •Title of the document<title> •Includes metadata of the application such as keywords, description etc..<meta> •Includes script<script> •Define styles for body elements<style> •Directive indicating related documents<link> •Define base address for all relative links on the page<base> 7 By: Seshu Puvvada
  • 8. Basic HTML Elements  Headings h1 to h6  Paragraph (p, pre)  Links(a)  Images(img)  Attributes – provides additional information about an element  Title  Href  Src  Width, height  Alt etc… 8 By: Seshu Puvvada
  • 9. Text elements  <b> - bold  <strong> - strong  <i> - italic  <em> - emphasized  <small> - small  <mark> - marked  <del> - deleted  <sub> - subscript  <sup> - superscript 9 By: Seshu Puvvada
  • 10. HTML Style  What is Style  Inline styling  <p style="color:red">This is a paragraph.</p>  Internal styling - Using Style tag  <style> p { color: red; } </style>  External Style sheet  mystyle.css  Basic styling properties  background-color, color, font-size, font-family, text-align, border, padding, margin etc… 10 By: Seshu Puvvada
  • 11. CSS Selectors  Id selector  #tagid{ css properties }  Element selector  h1{ css properties }  Class selector  .myheader{ css properties } 11 By: Seshu Puvvada
  • 12. Block Vs Inline  Block elements  Container elements for grouping  May contain other block or inline elements  New lines appear  Can have width and height, it takes whole page width  Div, h1, p, form etc…  Inline elements  Container for text and other inline elements  No new line before or after  Has no width and height  span, a, img etc.. 12 By: Seshu Puvvada
  • 13. CSS Box Model 13 By: Seshu Puvvada
  • 14. HTML Links  Anchor Element  <a href="http://www.syntelinc.com">Welcome to syntel</a>  What is target -- _self and _blank  <a href="http://www.syntelinc.com" target="_blank">Welcome to syntel</a>  Image with link  <a href="http://www.syntelinc.com" target="_blank“> <img src="welcome.jpg" /> </a>  Bookmarking Section  <a href="#Zaheer">Zaheer Khan Open to Bowling Coach Role in Indian Team </a> 14 By: Seshu Puvvada
  • 15. HTML List  Unordered list  <ul> <li>item name</li> </ul>  list-style-type:square, circle, disc  Ordered list  <ol> <li>item name</li> </ol>  type = “1”, A, a, I, i  List item 15 By: Seshu Puvvada
  • 16. HTML Input elements •<input type="text" name="username"> Text •<input type="password" name="psw"> Password •<input type="submit" value="Submit"> Submit •<input type="radio" name=“accept" value=“yes" checked> Radio •<input type="checkbox" name=“country" value=“India"> Checkbox 16 By: Seshu Puvvada