DHTML - Dynamic Hypertext mark up language. When we use style sheets and JavaScript in HTML file called DHTML. DHTML sites going fast upon client-side technologies.
Features of DHTML:
· Style sheets
· Absolute positioning
· Multimedia effects
· Database access facility
· Dynamic fonts
· Scripting
Style sheet - Style sheet language is used to describe the look and formatting of a document written in markup language. Style sheets are powerful way for adding styles in web documents. Style sheet gives us a greater control over the presentation of web document. It provides more flexibility and reduces complexity.
Syntax:
Item {property: value};
E.g.
<h1 style=”font: “Arial” 18px>
Vaishnoo Maa Computers
</h1>
There are three types of style sheet files:
1. Inline style sheet
2. Internal style sheet or Embedded style sheet
3. External style sheet
Elements of styles
· Style usually defines the following:
· Font name, size and style
· Text indent
· Margins (left and right)
· Background and text color
· Text alignment
No comments:
Post a Comment