Q: What is DHTML?
- DHTML stands for Dynamic Hypertext Markup Language is a combination of technologies for creating dynamic web sites. General phenomenon that DHTML is combination of html 4.0,style sheets and JavaScript.
- "DHTML is term used by some vendors to describe the combination of HTML,Style sheets and scripts that allows documents to be animated."
Q: What is CSS?
- We can look at Cascading Style Sheets (CSS) from a number of contextual perspectives. CSS were created to provide a powerful, yet flexible means for formatting HTML content.CSS contains formatting options using "STYLE" that can be applied to document elements.CSS stored in "*.css" file
- CSS help designers to do less work on the html elements for formatting elements color, font, backgrounds etc. that helps designer to maintain one theme in the entire website.
- HTML tags are used to display contain in document while CSS used to set different looks in to the document so contain can be display in effective manner.
- Major browser supporting CSS and its normally extension is "CSS", you can embedded CSS with you html document using <link> tag.
Syntax:
Selector
{
Property : value;
}
Selector - can be any html element.
Property – is attribute you wish to change.
Value- is value for attribute property and value separated by colon " : ".
For e.g.
Body { color: black }
Here body of document will be in black color.
Q: What is DOM ?
- The Document Object Model (DOM) is an application programming interface (API) for valid HTML and well-formed XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term "document" is used in the broad sense - increasingly, XML is being used as a way of representing many different kinds of information that may be stored in diverse systems, and much of this would traditionally be seen as data rather than as documents. Nevertheless, XML presents this data as documents, and the DOM may be used to manage this data.
- With the Document Object Model, programmers can build documents, navigate their structure, and add, modify, or delete elements and content. Anything found in an HTML or XML document can be accessed, changed, deleted, or added using the Document Object Model, with a few exceptions - in particular, the DOM interfaces for the XML internal and external subsets have not yet been specified.
- As a W3C specification, one important objective for the Document Object Model is to provide a standard programming interface that can be used in a wide variety of environments and applications. The DOM is designed to be used with any programming language.
No comments:
Post a Comment