You are Here: Articlelogy.com » Internet » Web-development » Html » Dreamweaver, HTML and XHTML

Dreamweaver, HTML and XHTML


Go to: Article Next Article


HTML is a simple markup language used to create documents designed to be accessed across the World Wide Web using browser software such as Internet Explorer or Firefox. The current version of HTML is known as XHTML, a stricter, rationalised version of the original HTML specification. One key fact to note about HTML and XHTML pages is that they describe the content and structure of the page rather than the position and presentation of the elements on the page.

The first difference between an HTML and an XHTML page is the document type definition. There are a variety of ways in which this specification can be made in Dreamweaver. One of the easiest is to go to the Modify menu and choose Page Properties. Here, in the Title/Encoding section, one of the options reads Document Type (DTD).

There are several options available in the drop-down menu next to this setting, some relating to HTML version 4 and some to XHTML version 1. These DTD settings specify the rules for the mark-up language so that the browsers can render the content correctly. For any new content that you create, the best specification to choose is XHTML 1.0 transitional since it uses the current XHTML specification while allowing backward compatibility with slightly older browsers.

When looking at an HTML page, the structural content is perhaps not immediately apparent. However Dreamweaver provides a number of useful ways of keeping tabs on the structure of your web page content. One of these is known as the Tag Selector. Wherever the cursor is positioned, the HTML code relating to that part of the page is displayed in the bottom left of the page on the Status Bar in an area called the Tag Selector.

When the browser reads the page, the tags surrounding text and other elements tell the browser the structural importance of each element. The H1 tag tells the browser that a piece of text is a major heading. The H2 tag signifies a sub-heading, and so on. As these tags are displayed in the Tag Selector, you can get an idea of the structure of the page and you can also click on the tags to select the element they contain.

The tags tell the browser the structural importance of each element but the page doesn't contain any information that helps the browser decide how each element should be displayed. This job is done by CSS (Cascading Style Sheets). An XHTML page is still basically an HTML page. However, the syntax used is stricter.

XHTML is case sensitive: HTML is case insensitive. In XHTML, tags are always lowercase, so the H1 tag must always be written h1: In HTML either H1 or h1 can be used.

In XHTML, the closing tag of an element cannot be ommitted: in HTML it is permissible to have an opening tag without a closing tag. One such example is the horizontal rule element (hr) which creates a dividing line between two sections on a webpage. This element is represented by a single tag, since it can never be used as a container for other stuff. In XHTML, there is a special syntax for such non-container elements: a single tag which is both an opening and closing tag (hr/). In HTML, the single opening tag is used without the need for a closing tag (hr).

In summary, XHTML is the current version of HTML and this is the standard that should be used for any new projects. However, existing projects that you may inherit may well contain HTML code rather the XHTML. Therefore, it makes sense to be aware of both. Remember also that HTML and XHTML describe only the structure of web pages : neither of them should contain information regarding the display and presentation of this content. The appearance of web content should be specified using CSS.
Article Source: Articlelogy.com
Insurance Comparison Quotes - Selected Insurance Carriers eager to quote you a price, fast!-


Word Count: 655




Reduce Your Debts Without Bankruptcy. See How Much You Can Save. Free Debt Analysis



Read Article ~ Read Next Article
 


Selected Articles

1: Way to Find the Best SEO Company
2: A SEO Company Maximizes your Online Sales
3: Your Smart Handset requires Smart App Developers
4: Way to Get your Unique iPhone Apps Developed
5: Why Do I Need to Attend a Fitness Resort?
6: Contact Lenses Online: Convenient, Less Time Absorbing, Order On The Spot
7: Want Assist With Internet Marketing? Try These Suggestions
8: The Foam Filled Chairs Are Perfect Items of Furnishings
9: People clinging to their content sending dcma requests
10: The Enormous Bean Bag is low priced along with a top quality item of furniture
11: Tips on how to Handle Cholesterol Levels to be Healthful
12: A good solid Global One Ultimate Power Profits Paradigm Shift Platinum Superbly Inspection
13: Car Maintenance: Much better Than Auto Repair St. Louis Case
14: Choosing B&b Hartbeespoort Dam
15: Melaleuca- An Impartial Review- So is this a Melaleuca Scam or can you honestly generate income with this business?
16: Los Ciclos Grado Medio en Catalunya interesan a los estudiantes
17: Tips To Start Successfully Marketing On the web Today
18: Prescription Assistance Programs, Goal and Rewards
19: Way to Find an Efficient SEO Service Provider
20: Joomla Development for your Website
21: Website Design Graphics for Niche Businesses
22: Recycling Help in Keeping our Environment Thoroughly clean
23: Nashville Recycling Info for the Folks of Nashville
24: Personal computer Restoration - Suggestions for Locating a Dependable provider at Waukesha
25: Would like To order Tunes On-line?
26: Viviane Skincare- A Completely Independent Assessment By an Expert
27: Dallas Texas HCG Diet plan Protocol
28: HCG Diet Protocol, it genuinely Succeeds
29: The Functions for Charter Jets
30: Try Out the Well known Athlete's Alfredo with Homemade Alfredo Sauce recipe
31: The Broccoli Cheddar Spinach Soup Recipe Is easy To Actualize
32: Technology Consulting Overview
33: Join the opportunity Get Pre-launch Immediately And Tie down Your Place
34: Beneficial Suggestions For Achieving Article Marketing Results
35: Why should you opt for promotional pens?
36: Types of stress relievers to keep you hale and healthy
37: Mistakes to avoid while choosing novelty pens


Read Article ~ Read Next Article

You are Here: Articlelogy.com » Internet » Web-development » Html » Dreamweaver, HTML and XHTML