Asked in HTML

Advantages and diadvantages of using HTML xml css and dhtml?



User Avatar
Wiki User

* HTML Advantage: HTML is the base of a webpage. It is the language that truly "builds" the page with tables, divisions, and outputting text in certain formats, such as bold and underlined fonts. It's presence is dominating the web - it is the most widely accepted language for web design. Disadvantage: HTML is a simple language to most, but poor (Or even the best) markup structure by the user / webmaster can result in multiple browsers displaying the markup differently (Though that's not always the case). XHTML is a new form of HTML that combines some characteristics of XML and the actual language of HTML (Meaning, XHTML is just HTML with new rules). XHTML, along with Document Type Declarations, can fix the problem of multiple browsers displaying markup differently. * CSS Advantage: CSS is a language that is designed to decorate and align (As well as hiding, cutting, etc) elements and text. HTML builds the page - And CSS designs what it makes. CSS is used to position certain HTML elements around the page, color elements (Or even the entire background of a page), border elements (Or groups of elements, in a sense), and the like. CSS cannot be used to create a webpage alone. Disadvantage: Sometimes, when you want to edit how your website looks with CSS, you'll need to edit every single page you have CSS in (Unless you use the <link> tag for stylesheets). There are no other languages like CSS, and no languages that build upon it, meaning it's a completely new language - making it, sometimes, difficult to learn. * XML Advantages: XML is used for organizing. It has a language markup just like HTML, using tags and whatnot. The tags are made up by the user (So <testing> is a real tag in XML), thus not much memorization is required. It is commonly used for RSS feeds, and other feeds accepting XML. It is a simple way to streamline news and updates. Disadvantages: XML does not "build" like HTML does. It is just a bunch of tags and words until put into a feed that churns XML into user-friendly data. Also, therefore, CSS cannot design XML, since XML does not initially "uutput" anything but the raw source. * dHTML Advantages: dHTML is the combination of JavaScript, HTML, and CSS to make dynamic user interfaces, such as web navigation menus and user-friendly maps of a sort. dHTML is not a new language, so there's no more memorization needed. Disadvantages: dHTML uses JavaScript, which is sometimes disabled on web browsers (And CSS, which could be turned off, but rarely is). Creating a dHTML interface is risky when it comes to browser-compatibility; many browsers tend to display different things when poorly constructed.