SlideShare a Scribd company logo
1 of 26
6.1 © 2007 by Prentice Hall
Welcome
6.2 © 2007 by Prentice Hall
.Presentation preparation.
Guided to-
Mr. Sanjay Shinde Sir
6.3 © 2007 by Prentice Hall
• Presented by-
• Abhishek meena
• B.sc. 6th sem.(computer science)
• Web Development
6.4 © 2007 by Prentice Hall
Topic
•
• DHTML (Dynamic HyperText
Markup Language)
6.5 © 2007 by Prentice Hall
• Context-
• 1. DHTML Definition
• 2. Need of HTML
• 3. Various components of DHTML
• 4. Overview of DHTML
• 5. Advantage / Disadvantage of DHTML
• 6. CSS (Cascading Style Sheets)
• 7. DOM( Document Object Model)
• 8. DOM evolution
• 9. HTML & Scripting access
• 10. Rollover buttons
6.6 © 2007 by Prentice Hall
• DHTML Definition-
• DHTML is stands for Dynamic HyperText
Markup Language. It is a combination of HTML with CSS and Scripting
language. DHTML is not language. It is a term that is used to describe the
technologies used to make web pages dynamic and interactive.
• According to the World Wide Web Consortium -“Dynamic HTML
is a term used by some vendors to describe the combination of HTML,
style sheets and scripts that allows documents to be animated”.
•
6.7 © 2007 by Prentice Hall
Need of DHTML
• DHTML is the combination of several built-in browser features in fourth
generation browsers that enable a web page to be more dynamic. DHTML
is not a scripting language (like JavaScript), but merely a browser feature
or enhancement that gives our browser the ability to be dynamic. What we
really want to learn is not DHTML itself, but rather, the syntax needed to
use DHTML.
•
6.8 © 2007 by Prentice Hall
Various components of DHTML
The term DHTML is implies that there is a single magic characteristic that
turns plain HTML into a DHTML page. Actually. DHTML is a
combination of several different browser features that work together to
make web pages more dynamic and interactive.
components into our page to make it dynamic. DHTML components are-
1. HTML
2. CSS(Cascading Style Sheets)
3. DOM(Document Object Model)
4. JavaScript
6.9 © 2007 by Prentice Hall
• Overview of DHTML- DHTML stands for Dynamic hypertext
markup language, and it is the most widely used language to write web
pages.
• . Hypertext refers to the way in which web pages (DHTML Document) are
linked together. Thus the link available on a web page are called hypertext.
• . As its name suggests, HTML is a Markup Language which means you
use HTML to simply” Markup “ a text document with tags that tell a web
browsers how to structure it to display.
6.10 © 2007 by Prentice Hall
• Advantage of DHTML-
• 1. Quicker Downloads
• 2. No plug-ins required
• 3. Utility
• Disadvantage of DHTML –
• 1. Costly Editing Tools
• 2. Long and complex Coding
• 3. Browsers Support Problem
6.11 © 2007 by Prentice Hall
• Cascading Style Sheets-
• . Css brings powerful layout and design capabilities to DHTML .
• . Css provides an efficient way to define universal style.
• . Separation the structure of document form content allows greater
manageability and makes changing the style easier.
• The style sheet start and end with <STYLE>….<STYLE> Tags.
Between those tags we specified all the style attributes.
<STYLE>…..<STYLE> Tags are written within the
<HEAD>…..<HEAD> Tags.
• For Example-
• <STYLE Type= “text/CSS”>
• Tag {attribute: value; attribute: value;}
• </STYLE>
6.12 © 2007 by Prentice Hall
• Css evolution-
• . Css was first developed in 1997, as a way for Web developers to define
the look and feel of their Web pages.
• . It was indented to allow develseparate content form design so that HTML
could perform more of the function that it was originally based on- the
markup of content, without worry about the design and layout.
6.13 © 2007 by Prentice Hall
• DOM (Document Object Model)-
• . DOM is platform- and language-neutral interface that allow programs and
scripts to dynamically access and manipulate the content, structure and
style of document.
• . DOM chooses OMG IDL to provide language- independent specification
of the DOM interfaces and provide language bindings for Java and
ECMAScript.
• TYPES-
• 1.Legacy DOM
• 2. Intermediate DOM
6.14 © 2007 by Prentice Hall
• DOM evolution-
• .Level 0 (Netscape Navigator 3.0 and MS IE 3.0)
• . Level1 ( Oct. 1998)
• Contains functionality for document navigation and manipulation of the
content and structure of DHTML and XML documents.
• . Level 2 (Nov. 2000)
• . Level 3 ( Draft, under development)
6.15 © 2007 by Prentice Hall
• HTML & Scripting access-
• . HTML is a markup language. A markup language is a set of markup tags
which used to describe the content of a document. A basic HTML
document contain various HTML tag and plain text. These HTML
documents are also called web page.
• .Scripting access the document demonstrates how to script across the
“embed” element to an embedded SVG documents and it’s scripts in a
cross – browser way. View the document’s (heavily commented ) source to
see how.
6.16 © 2007 by Prentice Hall
• HTML Script-
• Nested HTML Element-
• HTML elements can be nested (elements can contain elements)
• All HTML document consist of nested HTML elements .
• This example contains 4 HTML elements:
• Example-
• <!Doctype html>
• <html>
• <body>
• <h1> My First Heading </h1>
• <p> My First Paragraph</P>
• </body>
• </html>
6.17 © 2007 by Prentice Hall
.Rollover Button.
• What is rollover button?
• A rollover button provides an eye-pleasing option to your site as an
alternative to a standard hyperlink. When a user hovers their mouse over
the button image it magically changes – a great part trick to impress all
your friends.
• There are a variety of methods for doing this but
we’ are going to show you the cleanest, most browser-friendly option. A
small caveat, however: while this method generally works fine on modern
computers (from the last five years or so), you may find it a little hit-and-
miss on anything older, so be cartious.
6.18 © 2007 by Prentice Hall
• There are three aspects to this process:
• 1. Creating the image
• 2. Adding the HTML to the page
• 3. Adding some new style to the CSS file
6.19 © 2007 by Prentice Hall
• 1. Creating the image-
• What you need to do is create a single image
that includes your button in its normal state as well as its rollover state, the
final image will be exactly twice the height of the button size.
• For example, if you button
size is 100 pixels wide and 20 pixels high, then the image you are creating
will be 100 pixels wide and 40 pixels high.
6.20 © 2007 by Prentice Hall
• 2. The HTML-
• We simply insert a search engine friendly hyperlink in
the code, as shown here.
• <a id = “click me 1”
• href = “ some page. Htm” >< span> click me </span></a>
• It is important we give the link a unique ID, as in this example it is
clickme1. This is particularly important if we are adding more than one
rollover button. The second button will be clickme2 etc. The reason for this
will become obvious in the next step.
6.21 © 2007 by Prentice Hall
• 3. Adding the CSS –
• This is where a little bit of CSS magic comes in
to play and transforms our ordinary looking hyperlink into a super
impressive rollover button.
• Add the CSS code shown here to your CSS style file, replacing clickme1
with the ID you have used as well as updating the image file name. If the
image is not stored in the same folder as your CSS file then add the full
URL.
6.22 © 2007 by Prentice Hall
• # clickme1
• {
• display: block;
• Width: 100PX;
• height: 20PX;
• Background : URL (“ click me. gif”)
• No- repeat0 0;
• }
• # clickme1 : hover
• {
• Background – position : 0 _ 20px;
• }
• # clickme1 span
• {
• Display : none ;
• }
•
6.23 © 2007 by Prentice Hall
• You should also change the “width” and “height” so that its same width
and height as your button.
• Remember that you’ve made your
original image twice as high as your actual button. So your “height”
number should be half the height of your image.
• Lastly, look at the part the refers to
• background – position : 0-20PX;
•
• Substitute – 20 with the number you just used for” height”, with a minus in
front of it. So if the total height of your button is actually 60 pixels and not
40 as we’ve used in our example, then change it to what’s shown here.
6.24 © 2007 by Prentice Hall
• background – position : 0-30PX;
• Save the changes to your CSS file.
• That’s it – you are done.
6.25 © 2007 by Prentice Hall
• Any Question ?
6.26 © 2007 by Prentice Hall
• ……Thank you…..

More Related Content

What's hot

What's hot (20)

Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
 
Javascript
JavascriptJavascript
Javascript
 
presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
 
Bootstrap 5 ppt
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 ppt
 
Html
HtmlHtml
Html
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
Html
HtmlHtml
Html
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
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)
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Basic html
Basic htmlBasic html
Basic html
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
Html
HtmlHtml
Html
 

Similar to Dhtml ppt (2)

MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_mediaDhairya Joshi
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introductionclement swarnappa
 
9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptxclement swarnappa
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.pptssuser568d77
 
Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)TJ Stalcup
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)Daniel Friedman
 
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5nobel mujuji
 
Frontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSSFrontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSSThinkful
 
Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)Thinkful
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSSSiddhantSingh980217
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Thinkful
 
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScriptDYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScriptSoumen Santra
 
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajScience kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajkefije9797
 

Similar to Dhtml ppt (2) (20)

WEB DEVELOPMENT
WEB DEVELOPMENTWEB DEVELOPMENT
WEB DEVELOPMENT
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
 
9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
 
ARTICULOENINGLES
ARTICULOENINGLESARTICULOENINGLES
ARTICULOENINGLES
 
Html5
Html5 Html5
Html5
 
Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 
Html.pptx
Html.pptxHtml.pptx
Html.pptx
 
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5
 
Frontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSSFrontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSS
 
Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)
 
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScriptDYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
 
Html
HtmlHtml
Html
 
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajScience kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
 

More from Rai Saheb Bhanwar Singh College Nasrullaganj (20)

lec34.ppt
lec34.pptlec34.ppt
lec34.ppt
 
lec33.ppt
lec33.pptlec33.ppt
lec33.ppt
 
lec31.ppt
lec31.pptlec31.ppt
lec31.ppt
 
lec32.ppt
lec32.pptlec32.ppt
lec32.ppt
 
lec42.ppt
lec42.pptlec42.ppt
lec42.ppt
 
lec41.ppt
lec41.pptlec41.ppt
lec41.ppt
 
lec39.ppt
lec39.pptlec39.ppt
lec39.ppt
 
lec38.ppt
lec38.pptlec38.ppt
lec38.ppt
 
lec37.ppt
lec37.pptlec37.ppt
lec37.ppt
 
lec23.ppt
lec23.pptlec23.ppt
lec23.ppt
 
lec21.ppt
lec21.pptlec21.ppt
lec21.ppt
 
lec20.ppt
lec20.pptlec20.ppt
lec20.ppt
 
lec19.ppt
lec19.pptlec19.ppt
lec19.ppt
 
lec18.ppt
lec18.pptlec18.ppt
lec18.ppt
 
lec17.ppt
lec17.pptlec17.ppt
lec17.ppt
 
lec16.ppt
lec16.pptlec16.ppt
lec16.ppt
 
lec30.ppt
lec30.pptlec30.ppt
lec30.ppt
 
lec28.ppt
lec28.pptlec28.ppt
lec28.ppt
 
lec27.ppt
lec27.pptlec27.ppt
lec27.ppt
 
lec26.ppt
lec26.pptlec26.ppt
lec26.ppt
 

Recently uploaded

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 

Recently uploaded (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 

Dhtml ppt (2)

  • 1. 6.1 © 2007 by Prentice Hall Welcome
  • 2. 6.2 © 2007 by Prentice Hall .Presentation preparation. Guided to- Mr. Sanjay Shinde Sir
  • 3. 6.3 © 2007 by Prentice Hall • Presented by- • Abhishek meena • B.sc. 6th sem.(computer science) • Web Development
  • 4. 6.4 © 2007 by Prentice Hall Topic • • DHTML (Dynamic HyperText Markup Language)
  • 5. 6.5 © 2007 by Prentice Hall • Context- • 1. DHTML Definition • 2. Need of HTML • 3. Various components of DHTML • 4. Overview of DHTML • 5. Advantage / Disadvantage of DHTML • 6. CSS (Cascading Style Sheets) • 7. DOM( Document Object Model) • 8. DOM evolution • 9. HTML & Scripting access • 10. Rollover buttons
  • 6. 6.6 © 2007 by Prentice Hall • DHTML Definition- • DHTML is stands for Dynamic HyperText Markup Language. It is a combination of HTML with CSS and Scripting language. DHTML is not language. It is a term that is used to describe the technologies used to make web pages dynamic and interactive. • According to the World Wide Web Consortium -“Dynamic HTML is a term used by some vendors to describe the combination of HTML, style sheets and scripts that allows documents to be animated”. •
  • 7. 6.7 © 2007 by Prentice Hall Need of DHTML • DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more dynamic. DHTML is not a scripting language (like JavaScript), but merely a browser feature or enhancement that gives our browser the ability to be dynamic. What we really want to learn is not DHTML itself, but rather, the syntax needed to use DHTML. •
  • 8. 6.8 © 2007 by Prentice Hall Various components of DHTML The term DHTML is implies that there is a single magic characteristic that turns plain HTML into a DHTML page. Actually. DHTML is a combination of several different browser features that work together to make web pages more dynamic and interactive. components into our page to make it dynamic. DHTML components are- 1. HTML 2. CSS(Cascading Style Sheets) 3. DOM(Document Object Model) 4. JavaScript
  • 9. 6.9 © 2007 by Prentice Hall • Overview of DHTML- DHTML stands for Dynamic hypertext markup language, and it is the most widely used language to write web pages. • . Hypertext refers to the way in which web pages (DHTML Document) are linked together. Thus the link available on a web page are called hypertext. • . As its name suggests, HTML is a Markup Language which means you use HTML to simply” Markup “ a text document with tags that tell a web browsers how to structure it to display.
  • 10. 6.10 © 2007 by Prentice Hall • Advantage of DHTML- • 1. Quicker Downloads • 2. No plug-ins required • 3. Utility • Disadvantage of DHTML – • 1. Costly Editing Tools • 2. Long and complex Coding • 3. Browsers Support Problem
  • 11. 6.11 © 2007 by Prentice Hall • Cascading Style Sheets- • . Css brings powerful layout and design capabilities to DHTML . • . Css provides an efficient way to define universal style. • . Separation the structure of document form content allows greater manageability and makes changing the style easier. • The style sheet start and end with <STYLE>….<STYLE> Tags. Between those tags we specified all the style attributes. <STYLE>…..<STYLE> Tags are written within the <HEAD>…..<HEAD> Tags. • For Example- • <STYLE Type= “text/CSS”> • Tag {attribute: value; attribute: value;} • </STYLE>
  • 12. 6.12 © 2007 by Prentice Hall • Css evolution- • . Css was first developed in 1997, as a way for Web developers to define the look and feel of their Web pages. • . It was indented to allow develseparate content form design so that HTML could perform more of the function that it was originally based on- the markup of content, without worry about the design and layout.
  • 13. 6.13 © 2007 by Prentice Hall • DOM (Document Object Model)- • . DOM is platform- and language-neutral interface that allow programs and scripts to dynamically access and manipulate the content, structure and style of document. • . DOM chooses OMG IDL to provide language- independent specification of the DOM interfaces and provide language bindings for Java and ECMAScript. • TYPES- • 1.Legacy DOM • 2. Intermediate DOM
  • 14. 6.14 © 2007 by Prentice Hall • DOM evolution- • .Level 0 (Netscape Navigator 3.0 and MS IE 3.0) • . Level1 ( Oct. 1998) • Contains functionality for document navigation and manipulation of the content and structure of DHTML and XML documents. • . Level 2 (Nov. 2000) • . Level 3 ( Draft, under development)
  • 15. 6.15 © 2007 by Prentice Hall • HTML & Scripting access- • . HTML is a markup language. A markup language is a set of markup tags which used to describe the content of a document. A basic HTML document contain various HTML tag and plain text. These HTML documents are also called web page. • .Scripting access the document demonstrates how to script across the “embed” element to an embedded SVG documents and it’s scripts in a cross – browser way. View the document’s (heavily commented ) source to see how.
  • 16. 6.16 © 2007 by Prentice Hall • HTML Script- • Nested HTML Element- • HTML elements can be nested (elements can contain elements) • All HTML document consist of nested HTML elements . • This example contains 4 HTML elements: • Example- • <!Doctype html> • <html> • <body> • <h1> My First Heading </h1> • <p> My First Paragraph</P> • </body> • </html>
  • 17. 6.17 © 2007 by Prentice Hall .Rollover Button. • What is rollover button? • A rollover button provides an eye-pleasing option to your site as an alternative to a standard hyperlink. When a user hovers their mouse over the button image it magically changes – a great part trick to impress all your friends. • There are a variety of methods for doing this but we’ are going to show you the cleanest, most browser-friendly option. A small caveat, however: while this method generally works fine on modern computers (from the last five years or so), you may find it a little hit-and- miss on anything older, so be cartious.
  • 18. 6.18 © 2007 by Prentice Hall • There are three aspects to this process: • 1. Creating the image • 2. Adding the HTML to the page • 3. Adding some new style to the CSS file
  • 19. 6.19 © 2007 by Prentice Hall • 1. Creating the image- • What you need to do is create a single image that includes your button in its normal state as well as its rollover state, the final image will be exactly twice the height of the button size. • For example, if you button size is 100 pixels wide and 20 pixels high, then the image you are creating will be 100 pixels wide and 40 pixels high.
  • 20. 6.20 © 2007 by Prentice Hall • 2. The HTML- • We simply insert a search engine friendly hyperlink in the code, as shown here. • <a id = “click me 1” • href = “ some page. Htm” >< span> click me </span></a> • It is important we give the link a unique ID, as in this example it is clickme1. This is particularly important if we are adding more than one rollover button. The second button will be clickme2 etc. The reason for this will become obvious in the next step.
  • 21. 6.21 © 2007 by Prentice Hall • 3. Adding the CSS – • This is where a little bit of CSS magic comes in to play and transforms our ordinary looking hyperlink into a super impressive rollover button. • Add the CSS code shown here to your CSS style file, replacing clickme1 with the ID you have used as well as updating the image file name. If the image is not stored in the same folder as your CSS file then add the full URL.
  • 22. 6.22 © 2007 by Prentice Hall • # clickme1 • { • display: block; • Width: 100PX; • height: 20PX; • Background : URL (“ click me. gif”) • No- repeat0 0; • } • # clickme1 : hover • { • Background – position : 0 _ 20px; • } • # clickme1 span • { • Display : none ; • } •
  • 23. 6.23 © 2007 by Prentice Hall • You should also change the “width” and “height” so that its same width and height as your button. • Remember that you’ve made your original image twice as high as your actual button. So your “height” number should be half the height of your image. • Lastly, look at the part the refers to • background – position : 0-20PX; • • Substitute – 20 with the number you just used for” height”, with a minus in front of it. So if the total height of your button is actually 60 pixels and not 40 as we’ve used in our example, then change it to what’s shown here.
  • 24. 6.24 © 2007 by Prentice Hall • background – position : 0-30PX; • Save the changes to your CSS file. • That’s it – you are done.
  • 25. 6.25 © 2007 by Prentice Hall • Any Question ?
  • 26. 6.26 © 2007 by Prentice Hall • ……Thank you…..