Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Need Help With Correct Programming
lonebyrd
post Mar 9 2007, 04:23 PM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 302
Joined: 23-February 06
From: Northeastern Connecticut USA
Member No.: 11,487



O.K. here's the deal. I can't go to school to learn programming like I want, because I have outstanding student loans that I can't pay on. So, since I'm here, I figure I'll ask some questions. With regards to the basics, HTML, should I be using HTML when creating my site or the XHTML? I'm still a little unsure of the exact differences, but once I know were to go, I will get the correct books and website information. And what about CSS? Is there newer or older versions? I have one book already which teaches some about HTML and CSS, but I haven't gotten very far into, just what I already know about HTML. And what are the advantages to using PHP on a site? I have a book on that too, which is a little harder for me to grasp, but if it has alot of advantages, i will surly read it. Is there any other languages that are good for a site? I am nowhere near ready to understand C or C+ or anything like that yet.
Go to the top of the page
 
+Quote Post
ethergeek
post Mar 9 2007, 05:39 PM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 393
Joined: 9-March 07
From: Tucson, AZ
Member No.: 20,794



xHTML is HTML that conforms to valid XML syntax, strictly. It's really up to you. I tend to use xHTML because I like doing DOM tricks and HTML validators don't do the best job at checking for conformance errors that will crash the crap out of the XML validator when I try to build the DOM.

Here's a link to briefly outline the differences: http://www.w3schools.com/xhtml/xhtml_html.asp

Using CSS is almost mandatory with xHTML since alot of the tags used to control styling (like ALIGN) are deprecated, forcing use of css stylesheets or style attributes. As far as CSS versions, version n+1 just expands on version n, but many browsers don't support the latest/greatest CSS, so keeping the CSS as basic as possible is the approach I would take.

The advantage of using PHP is that it is server-side and dynamic, so you get the dynamic pages without the incompatibilities introduced with doing things clientside, with say, javascript to get dynamic data.

This post has been edited by ethergeek: Mar 9 2007, 05:40 PM
Go to the top of the page
 
+Quote Post
kgd2006
post Mar 9 2007, 09:37 PM
Post #3


Premium Member
Group Icon

Group: [HOSTED]
Posts: 318
Joined: 1-March 06
Member No.: 11,638



Ethergeek is correct. Its really up to you on what you use, and w3schools is a great place to start. I learn most of my programming languages from there. But if you want a tip I would probably grasp knowledge of HTML first. Becase it is really easy and flexible, but its also know as a very messy language, if you even consider it as a language. But if you can and want to learn it straight from the start, learn XHTML. It is becoming known that it is the web development standard because its contains clearer and concise coding schemes. After you have applied yourself with any of the two you should definitely take on CSS, because tables that is used in html now is considered evil. And its best that you use CSS if you wanted to create and tables because it gives the developer flexibility on updating a site. Well good luck.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Function Programming - About Function Languages(1)
  2. HP RPN: HP Calculator Programming Language(0)
  3. Where To Start Learning Programming(17)
  4. Programming As A Career(7)
  5. How To Learn A Programming Language(0)
  6. If Programming Languages Were Cars...(4)
  7. Making A Programming Language(6)


 



- Lo-Fi Version Time is now: 5th December 2008 - 06:02 PM