![]() |
|
|||||||
Remember I am no expert in the field of web page codes. I will give an explanation as I understand ...
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Remember I am no expert in the field of web page codes.
I will give an explanation as I understand it on HTML-XML-XHTML-CSS. First the Browsers. These are interpreters of the codes and render the page you see on screen. In simple terms every Browser has a list of codes and instructions how to display them. There is a list for each of the codes and instructions for HTML-XML-XHTML, however not all browsers render a web page the same way. That's why, what works in one does not work in another, this is not very helpful to web design. HTML Means "hypertext-markup-language" this is a list of Tags that are allowed to be used. That is why HTML is very easy to use, its also forgiving if you miss out a few tags. The browser compensates for the error and still displays the page. You can use upper and lower case Tags, but best to use lower case. XML Means "extensible-markup-language" this allows you to make your own Tags (not allowed in HTML). These Tags you make yourself are called descriptive, they must have a start and closing Tag. All Tags must be in lower case. XHTML Means "extensible-hypertext-markup-language" this is a combination of the HTML and XML. This allows you to use both HTML and XML in your code. All Tags must be in lower case, mistakes will not be tolerated. CSS Means "cascading style sheets",they can be used with any of the above markup languages. In simple terms they are a list of instructions for controlling your own web page. EG, Text that you want to use is listed in the style sheet, and will appear on all your pages, if you link it to the style sheet in your page code. If you want to change the text on all pages, you just change the text style/font in the style sheet. CSS can be added to an individual page if required, this is called an "inline style sheet". It is recommended that CSS is used when coded in XHTML. CSS has to be used for XML code. But don't worry as XHTML contains HTML, you can make a web page as you did before, just use the HTML 4 declaration. Note the correct declaration (DTD) is required on every page for the specific code language used. OK follow this link to read the information/rules on XHTML. http://www.htmlgoodies.com/beyond/xm...le.php/3473521
__________________
Knowledge is not knowing all the answers, but knowing where to find the answers. www.smitheram.co.uk Moderator of, Web Design/Graphics Room. P4-XP pro-IE7-B/B-ZA-AVG |
![]() |
| Thread Tools | |
| Display Modes | |
|
|