SlideShare a Scribd company logo
R.KARTHIKEYAN
Assistant Professor
Department of Commerce(CA)
Vivekananda College, Tiruvedakam West
Madurai – 625 234
E-mail : vishalkarthi12@gmail.com
Contact No: 97893 89135
 What is DHTML?
 Difference between HTML and DHTML?
 What is CSS?
 CSS Elements
 Example Program
 Types of Style Sheet
 Inline Style Sheet
 Internal Style Sheet
 External Style Sheet
 Example Program
Outline
 DHTML stands for Dynamic HTML
 DHTML is NOT a language or a web standard.
 DHTML is a term used to describe the technologies
used to make web pages dynamic and interactive.
 DHTML is combination of HTML, JavaScript, DOM and CSS.
.
What is DHTML?
 DHTML is Dynamic HTML.
 DHTML create dynamic pages.
 A page with HTML, CSS, DOM and Scripts
called as DHTML.
 DHTML creates dynamic web pages with
the use of CSS, JavaScript and DOM.
CSS - Cascading Style Sheet
DOM - Document Object Model
Difference between HTML and DHTML?
 HTML is Hypertext Markup Language.
 HTML create only static pages.
 A plain page without any styles and Scripts
called HTML.
 HTML creates static web pages by the use
of text, images, styles, tables and
heading.
What is CSS?
 CSS stands for Cascading Style Sheets.
 CSS describes how HTML elements are to be displayed on
screen, paper, or in other media.
 It can control the layout of multiple web pages all at once.
 CSS is used to define styles for your web pages, including the
design, layout and variations in display for different devices and
screen sizes.
 A CSS rule-set consists of a selector and a declaration block.
 The declaration block contains one or more declarations
separated by semicolons.
 Each declaration includes a CSS property name and a value,
separated by a colon.
 A CSS declaration always ends with a semicolon, and
declaration blocks are surrounded by curly braces.
CSS Syntax
Example 1 - CSS element Selector
The element selector selects HTML elements based on the
element name.
<html>
<head>
<style>
p {
text-align: center;
color: red;
}
</style>
</head>
<body>
<p> Hai friend.</p>
<p> welcome</p>
</body>
</html>
CSS id Selector
 The id selector uses the id attribute of an HTML element to
select a specific element.
 The id of an element is unique within a page
 To select an element with a specific id, write a hash (#)
character, followed by the id of the element.
.
Note:
An id name cannot
start with a number!
Example 2 - CSS id Selector
<html>
<head>
<style>
#para1
{
text-align: center;
color: red;
}
</style>
</head>
<body>
<p id="para1">Hello Students!</p>
<p> Happy Day.</p>
</body>
</html>
Here id="para1"
Example 3 - CSS Universal Selector
<html>
<head>
<style>
* {
text-align: center;
color: blue;
}
</style>
</head>
<body>
<h1>Hello world!</h1>
<p>Ram</p>
<p id="para1">Me too!</p>
<p>And me!</p>
</body>
</html>
The universal selector (*) selects all HTML
elements on the page.
Example 4 - CSS Grouping Selector
<html>
<head>
<style>
h1, h2, p
{
text-align: center;
color: red;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<h2>Smaller heading!</h2>
<p> Welcome students.</p>
</body>
</html>
The CSS Grouping Selector
The grouping selector selects all
the HTML elements with the
same style definitions.
Types of Style Sheet
CSS can be added to HTML elements in 3 ways:
 Inline style sheet - by using the style attribute in
HTML elements
 Internal style sheet - by using a <style> element in the
<head> section
 External style sheet - by using an external CSS file
.
 An inline CSS is used to apply a unique style to a single HTML element.
 An inline CSS uses the style attribute of an HTML element.
 It can be attached to an element using the style attribute.
 The style attribute includes a series of CSS property and value pairs.
Example:
<html>
<body>
<h1 style="color:blue;">Computer Applications</h1>
</body>
</html>
Above the example sets the text color of the <h1> element to blue
Inline style sheet
Internal Style Sheet
 The internal style sheet is used to add a unique style for a single
document.
 It is defined in <head> section of the HTML page inside the
<style> tag.
 An internal style sheet holds CSS rules for the page in the head
section of the HTML file
 A single change to the CSS rule will apply to all tagged elements
on the page
<html>
<head>
<style>
body {
background-color: yellow;
}
h1 {
color: Red;
margin-left: 80px;
}
p
{
color: blue;
}
</style>
</head>
<body>
<h1> hai friends</h1>
<p> hello </p>
</body>
</html>
Example - Internal Style Sheet
 An external style sheet is a separate file linked to an HTML web
page.
 It comes with a . css filename extension.
 The external style sheet is generally used when you want to
make changes on multiple pages.
 It is ideal for this condition because it facilitates you to change
the look of the entire web site by changing one file.
 It uses the <link> tag on every pages and the <link> tag should
be put inside the head section.
External Style Sheet
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>welcome</h1>
<p>External Style Sheet</p>
</body>
</html>
Example - External Style Sheet
File Name: styles.css
body
{
background-color: powderblue;
}
h1 {
color: blue;
}
p {
color: red;
}
Types of Style Sheet
Placed directly in
the HTML
document
Inline style sheet
External style
sheet
Internal style sheet
CSS
Saved as a
separate .CSS
file linked to
the HTML page
Placed in
the head
section of
the HTML
.html .html .css
Web Designing

More Related Content

What's hot

Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
Harshita Yadav
 
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
vijayta
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTMLwrhsbusiness
 
Introduction to css & its attributes with syntax
Introduction to css & its attributes with syntaxIntroduction to css & its attributes with syntax
Introduction to css & its attributes with syntax
priyadharshini murugan
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
JainilSampat
 
Css types internal, external and inline (1)
Css types internal, external and inline (1)Css types internal, external and inline (1)
Css types internal, external and inline (1)
Webtech Learning
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
Rational HATS and CSS
Rational HATS and CSSRational HATS and CSS
Rational HATS and CSS
Strongback Consulting
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
AakankshaR
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
Ardee Aram
 
Css
CssCss
Css
CssCss
Html, css and jquery introduction
Html, css and jquery introductionHtml, css and jquery introduction
Html, css and jquery introduction
cncwebworld
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Amit Tyagi
 
Web Design Assignment 1
Web Design Assignment 1 Web Design Assignment 1
Web Design Assignment 1
beretta21
 

What's hot (19)

Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
 
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
 
Introduction to css & its attributes with syntax
Introduction to css & its attributes with syntaxIntroduction to css & its attributes with syntax
Introduction to css & its attributes with syntax
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
 
Css types internal, external and inline (1)
Css types internal, external and inline (1)Css types internal, external and inline (1)
Css types internal, external and inline (1)
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Rational HATS and CSS
Rational HATS and CSSRational HATS and CSS
Rational HATS and CSS
 
Introducing Cascading Style Sheets
Introducing Cascading Style SheetsIntroducing Cascading Style Sheets
Introducing Cascading Style Sheets
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
 
Css
CssCss
Css
 
Html and css
Html and cssHtml and css
Html and css
 
Css
CssCss
Css
 
Css
CssCss
Css
 
Cascstylesheets
CascstylesheetsCascstylesheets
Cascstylesheets
 
Html, css and jquery introduction
Html, css and jquery introductionHtml, css and jquery introduction
Html, css and jquery introduction
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Web Design Assignment 1
Web Design Assignment 1 Web Design Assignment 1
Web Design Assignment 1
 

Similar to Web Designing

Chapter 4a cascade style sheet css
Chapter 4a cascade style sheet cssChapter 4a cascade style sheet css
Chapter 4a cascade style sheet cssTesfaye Yenealem
 
Intro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptxIntro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptx
stephysnscphysio
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2Erin M. Kidwell
 
Css basics
Css basicsCss basics
Css basics
mirza asif haider
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
Mukesh Tekwani
 
IP - Lecture 6, 7 Chapter-3 (3).ppt
IP - Lecture 6, 7 Chapter-3 (3).pptIP - Lecture 6, 7 Chapter-3 (3).ppt
IP - Lecture 6, 7 Chapter-3 (3).ppt
kassahungebrie
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptxWorkshop 2 Slides.pptx
Workshop 2 Slides.pptx
DaniyalSardar
 
Css introduction
Css introductionCss introduction
Css introductionSridhar P
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
 
Html html html html html html html html html
Html html html html html html html html htmlHtml html html html html html html html html
Html html html html html html html html html
riturajbhujel103
 
Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8
RohanMistry15
 
Unit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.pptUnit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.ppt
TusharTikia
 
CSS Foundations, pt 1
CSS Foundations, pt 1CSS Foundations, pt 1
CSS Foundations, pt 1
Shawn Calvert
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
DineshKumar522328
 
Css tutorial
Css tutorialCss tutorial
Css tutorialvedaste
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
Tushar Rajput
 
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
valuebound
 

Similar to Web Designing (20)

Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Chapter 4a cascade style sheet css
Chapter 4a cascade style sheet cssChapter 4a cascade style sheet css
Chapter 4a cascade style sheet css
 
Intro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptxIntro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptx
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
 
Css basics
Css basicsCss basics
Css basics
 
CSS.pdf
CSS.pdfCSS.pdf
CSS.pdf
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
IP - Lecture 6, 7 Chapter-3 (3).ppt
IP - Lecture 6, 7 Chapter-3 (3).pptIP - Lecture 6, 7 Chapter-3 (3).ppt
IP - Lecture 6, 7 Chapter-3 (3).ppt
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptxWorkshop 2 Slides.pptx
Workshop 2 Slides.pptx
 
Css introduction
Css introductionCss introduction
Css introduction
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Html html html html html html html html html
Html html html html html html html html htmlHtml html html html html html html html html
Html html html html html html html html html
 
Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Unit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.pptUnit 2-CSS & Bootstrap.ppt
Unit 2-CSS & Bootstrap.ppt
 
CSS Foundations, pt 1
CSS Foundations, pt 1CSS Foundations, pt 1
CSS Foundations, pt 1
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
 
Css tutorial
Css tutorialCss tutorial
Css tutorial
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
 
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
 

More from R.Karthikeyan - Vivekananda College

Relationship of donor and recipient, immunological basis of graft rejection
Relationship of donor and recipient, immunological basis of graft rejectionRelationship of donor and recipient, immunological basis of graft rejection
Relationship of donor and recipient, immunological basis of graft rejection
R.Karthikeyan - Vivekananda College
 
The govt.of india act of 1919
The govt.of india act of 1919The govt.of india act of 1919
The govt.of india act of 1919
R.Karthikeyan - Vivekananda College
 
Minto morley reform act of 1909
Minto morley reform act of 1909Minto morley reform act of 1909
Minto morley reform act of 1909
R.Karthikeyan - Vivekananda College
 
History of India(From 900 AD to 1707 AD)
History of India(From 900 AD to 1707 AD)  History of India(From 900 AD to 1707 AD)
History of India(From 900 AD to 1707 AD)
R.Karthikeyan - Vivekananda College
 

More from R.Karthikeyan - Vivekananda College (20)

HLA system and principles of tolerance
HLA system and principles of toleranceHLA system and principles of tolerance
HLA system and principles of tolerance
 
Relationship of donor and recipient, immunological basis of graft rejection
Relationship of donor and recipient, immunological basis of graft rejectionRelationship of donor and recipient, immunological basis of graft rejection
Relationship of donor and recipient, immunological basis of graft rejection
 
Autoimmunity
AutoimmunityAutoimmunity
Autoimmunity
 
Optics and sound
Optics and soundOptics and sound
Optics and sound
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
SIDBI
SIDBISIDBI
SIDBI
 
SIDCO
SIDCOSIDCO
SIDCO
 
District Industries Centre
District Industries CentreDistrict Industries Centre
District Industries Centre
 
EDP
EDPEDP
EDP
 
Tamil
TamilTamil
Tamil
 
Tamil
TamilTamil
Tamil
 
Botany
BotanyBotany
Botany
 
Colligative properties
Colligative properties Colligative properties
Colligative properties
 
Sher shah sur
Sher shah surSher shah sur
Sher shah sur
 
Physical training
Physical trainingPhysical training
Physical training
 
The govt.of india act of 1919
The govt.of india act of 1919The govt.of india act of 1919
The govt.of india act of 1919
 
Minto morley reform act of 1909
Minto morley reform act of 1909Minto morley reform act of 1909
Minto morley reform act of 1909
 
Tribal population of india
Tribal population of indiaTribal population of india
Tribal population of india
 
History of India(From 900 AD to 1707 AD)
History of India(From 900 AD to 1707 AD)  History of India(From 900 AD to 1707 AD)
History of India(From 900 AD to 1707 AD)
 
Life and achievements of shivaji
Life and achievements of shivajiLife and achievements of shivaji
Life and achievements of shivaji
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

Web Designing

  • 1. R.KARTHIKEYAN Assistant Professor Department of Commerce(CA) Vivekananda College, Tiruvedakam West Madurai – 625 234 E-mail : vishalkarthi12@gmail.com Contact No: 97893 89135
  • 2.
  • 3.  What is DHTML?  Difference between HTML and DHTML?  What is CSS?  CSS Elements  Example Program  Types of Style Sheet  Inline Style Sheet  Internal Style Sheet  External Style Sheet  Example Program Outline
  • 4.  DHTML stands for Dynamic HTML  DHTML is NOT a language or a web standard.  DHTML is a term used to describe the technologies used to make web pages dynamic and interactive.  DHTML is combination of HTML, JavaScript, DOM and CSS. . What is DHTML?
  • 5.  DHTML is Dynamic HTML.  DHTML create dynamic pages.  A page with HTML, CSS, DOM and Scripts called as DHTML.  DHTML creates dynamic web pages with the use of CSS, JavaScript and DOM. CSS - Cascading Style Sheet DOM - Document Object Model Difference between HTML and DHTML?  HTML is Hypertext Markup Language.  HTML create only static pages.  A plain page without any styles and Scripts called HTML.  HTML creates static web pages by the use of text, images, styles, tables and heading.
  • 6. What is CSS?  CSS stands for Cascading Style Sheets.  CSS describes how HTML elements are to be displayed on screen, paper, or in other media.  It can control the layout of multiple web pages all at once.  CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.
  • 7.  A CSS rule-set consists of a selector and a declaration block.  The declaration block contains one or more declarations separated by semicolons.  Each declaration includes a CSS property name and a value, separated by a colon.  A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces. CSS Syntax
  • 8. Example 1 - CSS element Selector The element selector selects HTML elements based on the element name. <html> <head> <style> p { text-align: center; color: red; } </style> </head> <body> <p> Hai friend.</p> <p> welcome</p> </body> </html>
  • 9. CSS id Selector  The id selector uses the id attribute of an HTML element to select a specific element.  The id of an element is unique within a page  To select an element with a specific id, write a hash (#) character, followed by the id of the element. . Note: An id name cannot start with a number!
  • 10. Example 2 - CSS id Selector <html> <head> <style> #para1 { text-align: center; color: red; } </style> </head> <body> <p id="para1">Hello Students!</p> <p> Happy Day.</p> </body> </html> Here id="para1"
  • 11. Example 3 - CSS Universal Selector <html> <head> <style> * { text-align: center; color: blue; } </style> </head> <body> <h1>Hello world!</h1> <p>Ram</p> <p id="para1">Me too!</p> <p>And me!</p> </body> </html> The universal selector (*) selects all HTML elements on the page.
  • 12. Example 4 - CSS Grouping Selector <html> <head> <style> h1, h2, p { text-align: center; color: red; } </style> </head> <body> <h1>Hello World!</h1> <h2>Smaller heading!</h2> <p> Welcome students.</p> </body> </html> The CSS Grouping Selector The grouping selector selects all the HTML elements with the same style definitions.
  • 13. Types of Style Sheet CSS can be added to HTML elements in 3 ways:  Inline style sheet - by using the style attribute in HTML elements  Internal style sheet - by using a <style> element in the <head> section  External style sheet - by using an external CSS file .
  • 14.  An inline CSS is used to apply a unique style to a single HTML element.  An inline CSS uses the style attribute of an HTML element.  It can be attached to an element using the style attribute.  The style attribute includes a series of CSS property and value pairs. Example: <html> <body> <h1 style="color:blue;">Computer Applications</h1> </body> </html> Above the example sets the text color of the <h1> element to blue Inline style sheet
  • 15. Internal Style Sheet  The internal style sheet is used to add a unique style for a single document.  It is defined in <head> section of the HTML page inside the <style> tag.  An internal style sheet holds CSS rules for the page in the head section of the HTML file  A single change to the CSS rule will apply to all tagged elements on the page
  • 16. <html> <head> <style> body { background-color: yellow; } h1 { color: Red; margin-left: 80px; } p { color: blue; } </style> </head> <body> <h1> hai friends</h1> <p> hello </p> </body> </html> Example - Internal Style Sheet
  • 17.  An external style sheet is a separate file linked to an HTML web page.  It comes with a . css filename extension.  The external style sheet is generally used when you want to make changes on multiple pages.  It is ideal for this condition because it facilitates you to change the look of the entire web site by changing one file.  It uses the <link> tag on every pages and the <link> tag should be put inside the head section. External Style Sheet
  • 18. <html> <head> <link rel="stylesheet" href="styles.css"> </head> <body> <h1>welcome</h1> <p>External Style Sheet</p> </body> </html> Example - External Style Sheet File Name: styles.css body { background-color: powderblue; } h1 { color: blue; } p { color: red; }
  • 19. Types of Style Sheet Placed directly in the HTML document Inline style sheet External style sheet Internal style sheet CSS Saved as a separate .CSS file linked to the HTML page Placed in the head section of the HTML .html .html .css