Movatterモバイル変換


[0]ホーム

URL:


Ketan Ghumatkar, profile picture
Uploaded byKetan Ghumatkar
PPTX, PDF227 views

HTML and CSS

The document provides an overview of HTML and CSS basics. It covers HTML structure using tags, common HTML elements and tags like headings, paragraphs, lists, and tables. It then covers CSS and how it can be used to style HTML elements either inline, internally, or via an external stylesheet. Key CSS concepts covered include properties for fonts, colors, padding, borders, dimensions. The document concludes with an assignment to build a page using HTML and external CSS.

Embed presentation

Download to read offline
www.treeni.comHtml, Css- Ketan Ghumatkar
HTML Basics● Hypertext markup language● Browser language● Building blocks using tags● Structure of website
HTML Basic Layout<!DOCTYPE html><html><head></head><body></body></html>
HTML Advance Layout<!DOCTYPE html><html><head><title>Page Title</title></head><body><h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>
HTML Advance Layout● <header> - Defines a header for adocument or a section● <nav> - Defines a container fornavigation links● <section> - Defines a section in adocument● <article> - Defines an independent self-contained article● <aside> - Defines content aside fromthe content (like a sidebar)● <footer> - Defines a footer for adocument or a section● <details> - Defines additional details● <summary> - Defines a heading for the<details> element
HTML TAGs - Elements and AttributesExamples -<a href="https://www.w3schools.com">This is a link</a><img src="img_girl.jpg" width="500" height="600">
HTML - Important tagsHeadings<h1>- </h1><h2>- </h2><h3>- </h3><h4>- </h4><h5>- </h5><h6>- </h6>Paragraphs<p>-</p>Content holders<div>-</div><span>-</span>Listings<ul> <ol><li>A</li> <li>A</li><li>B</li> <li>B</li></ul> </ol>Table<table><th><td></td><td></td></th><tr><td></td></tr></table>
HTML - stylingBasic styling with tags● <b> - Bold text● <strong> - Important text● <i> - Italic text● <em> - Emphasized text● <mark> - Marked text● <small> - Small text● <del> - Deleted text● <ins> - Inserted text● <sub> - Subscript text● <sup> - Superscript textElement types- Block- inline
CSS - Basic● Cascading style sheet● How element should look like● Color, size, shape, position● CSS can be added to HTML elements in 3 ways● Inline - by using the style attribute in HTML elements● Internal - by using a <style> element in the <head> section● External - by using an external CSS file
CSS - Inline Styling● Mostly used for single element to style● Uses the style attribute of html element● Example -<h1 style="color:blue;">This is a Blue Heading</h1>
CSS - Internal Styling● Used to define style for single html page● Is defined in the <head> section within <style> tag<!DOCTYPE html><html><head><style>body {background-color: powderblue;}h1 {color: blue;}p {color: red;}</style></head><body><h1>This is a heading</h1><p>This is a paragraph.</p></body></html>
CSS - External Styling● Used defined style for multiple html pages● You can change look of entire website with single file<!DOCTYPE html><html><head><link rel="stylesheet" href="styles.css"></head><body><h1>This is a heading</h1><p>This is a paragraph.</p></body></html>body {background-color:powderblue;}h1 {color: blue;}p {color: red;}
CSS - Propertiesfont: 15px arial, sans-serif;background: lightblue url("img_tree.gif") no-repeat fixed center;padding: 10px; padding: 10px 2px; padding: 5px 10px 15px 20px;border: 5px solid red;width: 500px; width: 50%;Try different properties in chrome debuggerReference: https://www.w3schools.com/cssref/default.asp
CSS - conceptPadding and MarginFloat: left, right, none;Position: static, relative, absolute, fixed
Assignment OverviewWrite HTML and CSS to create below pageFolder structure- Assignment- index.html- css- style.css
Thank You

Recommended

PPTX
Html and css
PPTX
Html & CSS
PPTX
Web development using HTML and CSS
PPTX
html & css
PPTX
Html n CSS
PPTX
Introduction to HTML
PPTX
Web1O1 - Intro to HTML/CSS
PPTX
Css introduction
PPTX
Introduction to web design discussing which languages is used for website des...
PPTX
Introduction to CSS
PPTX
Introduction to CSS
PPTX
11 Quiz related to HTML, CSS, JS and WP
PDF
Introduction to the Web and HTML
PDF
Html css
PDF
Introduction to css
PPTX
Coding a Website with HTML
PDF
Introduction to HTML and CSS
PPTX
CSS- Cascading Style Sheet
PDF
Lesson 1: Introduction to HTML
PPTX
Introduction to HTML and CSS
PPT
PPT
Boostrap basics
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPTX
Introduction to html course digital markerters
PPTX
Introduction to HTML
PPTX
How to create basic webpage
PPTX
Hushang Gaikwad
PDF
Basic Details of HTML and CSS.pdf
PPTX
Java script and html

More Related Content

PPTX
Html and css
PPTX
Html & CSS
PPTX
Web development using HTML and CSS
PPTX
html & css
PPTX
Html n CSS
PPTX
Introduction to HTML
PPTX
Web1O1 - Intro to HTML/CSS
PPTX
Css introduction
Html and css
Html & CSS
Web development using HTML and CSS
html & css
Html n CSS
Introduction to HTML
Web1O1 - Intro to HTML/CSS
Css introduction

What's hot

PPTX
Introduction to web design discussing which languages is used for website des...
PPTX
Introduction to CSS
PPTX
Introduction to CSS
PPTX
11 Quiz related to HTML, CSS, JS and WP
PDF
Introduction to the Web and HTML
PDF
Html css
PDF
Introduction to css
PPTX
Coding a Website with HTML
PDF
Introduction to HTML and CSS
PPTX
CSS- Cascading Style Sheet
PDF
Lesson 1: Introduction to HTML
PPTX
Introduction to HTML and CSS
PPT
PPT
Boostrap basics
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPTX
Introduction to html course digital markerters
PPTX
Introduction to HTML
PPTX
How to create basic webpage
PPTX
Hushang Gaikwad
Introduction to web design discussing which languages is used for website des...
Introduction to CSS
Introduction to CSS
11 Quiz related to HTML, CSS, JS and WP
Introduction to the Web and HTML
Html css
Introduction to css
Coding a Website with HTML
Introduction to HTML and CSS
CSS- Cascading Style Sheet
Lesson 1: Introduction to HTML
Introduction to HTML and CSS
Boostrap basics
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Introduction to html course digital markerters
Introduction to HTML
How to create basic webpage
Hushang Gaikwad

Similar to HTML and CSS

PDF
Basic Details of HTML and CSS.pdf
PPTX
Java script and html
PPTX
Java script and html new
PPTX
Workshop 2 Slides.pptx
PPTX
html css intro sanskar , saurabh.pptx
PPT
CSS Training in Bangalore
PPTX
HTML, CSS BASICS OF HTML AND CSS USED IN WEBSITE.pptx
PPT
Basic HTML/CSS
PPTX
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
PDF
cascading style sheets ppt.sildeshower phone view
PDF
PPT
6_CasCadingStylesSheetsCSS.ppt
PPTX
Unit 2 WT-CSS.pptx web technology project
PPTX
Introduction HTML and CSS
PPTX
BITM3730Week4.pptx
PPTX
Html Styles-CSS
PPT
PPTX
HTML (Hyper Text Markup language ).pptx
PPTX
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
 
Basic Details of HTML and CSS.pdf
Java script and html
Java script and html new
Workshop 2 Slides.pptx
html css intro sanskar , saurabh.pptx
CSS Training in Bangalore
HTML, CSS BASICS OF HTML AND CSS USED IN WEBSITE.pptx
Basic HTML/CSS
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
cascading style sheets ppt.sildeshower phone view
6_CasCadingStylesSheetsCSS.ppt
Unit 2 WT-CSS.pptx web technology project
Introduction HTML and CSS
BITM3730Week4.pptx
Html Styles-CSS
HTML (Hyper Text Markup language ).pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
 

Recently uploaded

PPTX
Deep Dive into Durable Functions, presented at Cloudbrew 2025
PDF
How Modern Custom Software is Revolutionizing Mortgage Lending Processes -Ma...
PPTX
AI Clinic Management Software for Pulmonology Clinics Bringing Clarity, Contr...
PPTX
Managed Splunk Partner vs In-House: Cost, Risk & Value Comparison
PDF
What Is A Woman (WIAW) Token – Smart Contract Security Audit Report by EtherA...
PDF
IT Estate Modernization: Transform Your Infrastructure for the Future .pdf
PPTX
NSF Converter Software to Convert NSF to PST, EML, MSG
PDF
Why Zoho Notebook’s AI-Fueled Upgrade Matters for Knowledge Workers in 2026
PDF
Cybersecurity Alert- What Organisations Must Watch Out For This Christmas Fes...
PDF
Navigating SEC Regulations for Crypto Exchanges Preparing for a Compliant Fut...
DOCX
How to Change Classic SharePoint to Modern SharePoint (An Updated Guide)
PDF
SecureChain AI (SCAI) Token – Smart Contract Security Audit Report by EtherAu...
PDF
Design and Analysis of Algorithms(DAA): Unit-II Asymptotic Notations and Basi...
PDF
Data structure using C :UNIT-I Introduction to Data structures and Stacks BCA...
PDF
Intelligent CRM for Insurance Brokers: Managing Clients with Precision
PPTX
Binance Smart Chain Development Guide.pptx
PDF
How NetSuite Cloud ERP Helps Businesses Overcome Legacy System Downtime.
PPTX
Modern Claims Automation Solutions for Operational Agility
PDF
Constraints First - Why Our On-Prem Ticketing System Starts With Limits, Not ...
PDF
Combinatorial Interview Problems with Backtracking Solutions - From Imperativ...
Deep Dive into Durable Functions, presented at Cloudbrew 2025
How Modern Custom Software is Revolutionizing Mortgage Lending Processes -Ma...
AI Clinic Management Software for Pulmonology Clinics Bringing Clarity, Contr...
Managed Splunk Partner vs In-House: Cost, Risk & Value Comparison
What Is A Woman (WIAW) Token – Smart Contract Security Audit Report by EtherA...
IT Estate Modernization: Transform Your Infrastructure for the Future .pdf
NSF Converter Software to Convert NSF to PST, EML, MSG
Why Zoho Notebook’s AI-Fueled Upgrade Matters for Knowledge Workers in 2026
Cybersecurity Alert- What Organisations Must Watch Out For This Christmas Fes...
Navigating SEC Regulations for Crypto Exchanges Preparing for a Compliant Fut...
How to Change Classic SharePoint to Modern SharePoint (An Updated Guide)
SecureChain AI (SCAI) Token – Smart Contract Security Audit Report by EtherAu...
Design and Analysis of Algorithms(DAA): Unit-II Asymptotic Notations and Basi...
Data structure using C :UNIT-I Introduction to Data structures and Stacks BCA...
Intelligent CRM for Insurance Brokers: Managing Clients with Precision
Binance Smart Chain Development Guide.pptx
How NetSuite Cloud ERP Helps Businesses Overcome Legacy System Downtime.
Modern Claims Automation Solutions for Operational Agility
Constraints First - Why Our On-Prem Ticketing System Starts With Limits, Not ...
Combinatorial Interview Problems with Backtracking Solutions - From Imperativ...

HTML and CSS

  • 1.
  • 2.
    HTML Basics● Hypertextmarkup language● Browser language● Building blocks using tags● Structure of website
  • 3.
    HTML Basic Layout<!DOCTYPEhtml><html><head></head><body></body></html>
  • 4.
    HTML Advance Layout<!DOCTYPEhtml><html><head><title>Page Title</title></head><body><h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>
  • 5.
    HTML Advance Layout●<header> - Defines a header for adocument or a section● <nav> - Defines a container fornavigation links● <section> - Defines a section in adocument● <article> - Defines an independent self-contained article● <aside> - Defines content aside fromthe content (like a sidebar)● <footer> - Defines a footer for adocument or a section● <details> - Defines additional details● <summary> - Defines a heading for the<details> element
  • 6.
    HTML TAGs -Elements and AttributesExamples -<a href="https://www.w3schools.com">This is a link</a><img src="img_girl.jpg" width="500" height="600">
  • 7.
    HTML - ImportanttagsHeadings<h1>- </h1><h2>- </h2><h3>- </h3><h4>- </h4><h5>- </h5><h6>- </h6>Paragraphs<p>-</p>Content holders<div>-</div><span>-</span>Listings<ul> <ol><li>A</li> <li>A</li><li>B</li> <li>B</li></ul> </ol>Table<table><th><td></td><td></td></th><tr><td></td></tr></table>
  • 8.
    HTML - stylingBasicstyling with tags● <b> - Bold text● <strong> - Important text● <i> - Italic text● <em> - Emphasized text● <mark> - Marked text● <small> - Small text● <del> - Deleted text● <ins> - Inserted text● <sub> - Subscript text● <sup> - Superscript textElement types- Block- inline
  • 9.
    CSS - Basic●Cascading style sheet● How element should look like● Color, size, shape, position● CSS can be added to HTML elements in 3 ways● Inline - by using the style attribute in HTML elements● Internal - by using a <style> element in the <head> section● External - by using an external CSS file
  • 10.
    CSS - InlineStyling● Mostly used for single element to style● Uses the style attribute of html element● Example -<h1 style="color:blue;">This is a Blue Heading</h1>
  • 11.
    CSS - InternalStyling● Used to define style for single html page● Is defined in the <head> section within <style> tag<!DOCTYPE html><html><head><style>body {background-color: powderblue;}h1 {color: blue;}p {color: red;}</style></head><body><h1>This is a heading</h1><p>This is a paragraph.</p></body></html>
  • 12.
    CSS - ExternalStyling● Used defined style for multiple html pages● You can change look of entire website with single file<!DOCTYPE html><html><head><link rel="stylesheet" href="styles.css"></head><body><h1>This is a heading</h1><p>This is a paragraph.</p></body></html>body {background-color:powderblue;}h1 {color: blue;}p {color: red;}
  • 13.
    CSS - Propertiesfont:15px arial, sans-serif;background: lightblue url("img_tree.gif") no-repeat fixed center;padding: 10px; padding: 10px 2px; padding: 5px 10px 15px 20px;border: 5px solid red;width: 500px; width: 50%;Try different properties in chrome debuggerReference: https://www.w3schools.com/cssref/default.asp
  • 14.
    CSS - conceptPaddingand MarginFloat: left, right, none;Position: static, relative, absolute, fixed
  • 15.
    Assignment OverviewWrite HTMLand CSS to create below pageFolder structure- Assignment- index.html- css- style.css
  • 17.

[8]ページ先頭

©2009-2025 Movatter.jp