Your HostICan Community  


Go Back   Your HostICan Community > Programming & Design > HTML / Design

HTML / Design Are you a designer? Or just trying to become one? Great! You'll be able to talk about layouts, and HTML code to help your fellow designers, so everyone can work together to master the tricks of the trade. (Maybe even some JavaScript too!)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-26-2009, 08:28 AM
EnRiiQuE EnRiiQuE is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default HTML transform

What is XHTML and how to transform my HTML page to an XHTML? I have missed to mention that I do not know web well.

Best Regards
Reply With Quote
  #2  
Old 02-27-2009, 08:35 AM
600gshr 600gshr is offline
Member
 
Join Date: Jan 2009
Posts: 92
Default Re: HTML transform

HTML is document markup language. XHTML is eXtensible HyperText Markup Language is a markup language to describe formatted documents.
Language is built on HTML and is transformed so as to meet the standards of XML. The General Rules for converting HTML to XHTML are:
Declaration for transitional XHTML documents
HTML Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
All tags should be enclosed within the tag, id est, should be the root element for the document.
All XHTML tag elements should be in lower case.
All XHTML tags should have their end tags.
HTML Code:
<p>Example</p>. 
Empty tags in XHTML
HTML Code:
<meta />: for meta information (contained in the head section)
<base />: used to specify the base URI and also the target frame for hyperlinks (contained in the head section)
<basefont />: used to specify a base font for the document. Note that attribute 'size' is mandatory
<param />: parameters for applets and objects.
<link />: to specify external stylesheets and other references.
<img />: to include images. Attributes 'src' for the source URI and 'alt' for alternate text are mandatory.
: used for forced line break.
<hr />: for horizontal rules.
<area />: used inside image maps. Attribute 'alt' is mandatory.
<input />: used inside forms for input form elements like buttons, textboxes, textareas, checkboxes and radio buttons.
Reply With Quote
Reply

Tags
html, transform

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:11 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.