Question:
what form of xhtml or html does dreamweaver produce?
anonymous
2009-12-02 22:55:17 UTC
i am trying to get started on learning about web development. i started with a dreamweaver tutorial, but in the middle of the tutorial i decided it was best to learn html, xhtml, xml, csc and javascript in that order before proceeding.

my uncle told me that for the most part, html doesn't exist anymore and that xhtml and xml have taken its place.

and my tutorial videos are telling me that i should be making xhtml v1.0 transisional files, but declaring those files as html files, since xhtml v1.0 transisional can be read by an html browser.

i have been told that dreamweaver produces invalid html, and therefore the majority of web pages are written in invalid html, which makes me angry and confused

so my real question is:

fill in the blank

when i look at the source code of most web pages, i am looking at javascript, csc, and __________

A. xhtml v1.0 transisional
B. html v4.01
C. some other form of xml outside the realm of xhtml
Three answers:
anonymous
2009-12-03 02:46:34 UTC
1.HTML/CSS 7.6

2.Javascript 7.3

3.Ajax 7.2

4.Python 6.9

5.Java 6.7

6.C# 6.7

7.Ruby 6.2

8..Net 6.0

9.C++ 5.4

10.C 5.1

Although , HTML IS NOT A PROGRAMMING LANGUAGE was compiled in this list of top 10 favorites to still be used in the year 2013.



I read an interesting article that explained although some languages more popular then others you should focus on the ones that peak your interest,explained you should dabble with many but work with your favorites.



Hope this help...code away



p.s have read that a lot of coders do not like dreamweaver,but if your in a hurry to get something on the web dreamweaver has a easy learning curve.
anonymous
2009-12-05 19:43:05 UTC
HTML 4, XHTML Transitional, and XHTML Strict are all in current use, and in a typical browsing session, you'll see all of them.



If you're getting started, I recommend learning XHTML strict. Learning this technique automatically gives you the advantages of the other flavors, and it avoids teaching bad habits.



XHTML strict is actually quite a bit easier than HTML 4 or XHTML transitional, because it has far fewer tags. The strict form of XHTML removes all the various tags that were once used for styling. It's actually a quite straightforward language. Even when you use the XHTML doctype, some browsers are reading it as HTML, but don't worry about that. Learn XHTML strict because it teaches you good habits. Use a validator regularly, and you'll learn how to write code that is reliable and trustworthy.



Since all the formatting is removed from XHTML strict, you'll also need to learn CSS. (Cascading Style Sheets) This technology is compatible with HTML, but it's not the same. Most CSS codes are very straightforward, but they can get a little messy when you start to play around with positionable elements and so on. A good teacher or a good book can help you make sense of it all.



JavaScript is a more advanced topic you shouldn't get too concerned about until you have the basics out of the way.



I don't think Dreamweaver is bad, but it can cause you problems. If you use it in design mode (like a word processor, where you don't worry about the underlying code) Dreamweaver tends to create somewhat messy code. Most pros use text mode for most of their work, which means they write their own tags. If you're going to do that (and it isn't really very hard) why pay for Dreamweaver when there are many other very powerful tools that do the job just as well for free.



Please see my web site for lots of examples and sample files from my books. I've got two free complete chapters on HTML and CSS available on my site. They were written as review chapters for a more advanced book, but there wasn't room for them in the final book: They should give you a decent introduction to web development.



HTML Chapter and examples:

http://www.aharrisbooks.net/jad/bonus_01/



CSS Chapter and examples:

http://www.aharrisbooks.net/jad/bonus_02/



Best of luck to you...
J.J.'s Advice / Avis de J.J.
2009-12-02 23:41:40 UTC
I don't know where you read about XHTML Transitional, but it was outdated. The standard now is 'XHTML 1.0 Strict'. Transitional should only be used to accomodate older browsers, but it's better to use Strict. You certainly shouldn't be declaring them as HTML if they're written in XHTML. The languages are almost identical, but there are some fundamental differences in syntax. HTML was designed to be used in making a self-contained website, whereas XHTML was designed to be combined with a CSS stylesheet.





If you go to any decent website and look at the source code, the first line should be the following:





or for HTML:





This is called a "Document Type Declaration" (DTD), often referred to simply as a "doctype" or "doctype dec". It is very important to include a DTD in production websites. If there is no DTD, then certain browsers (ehm MSIE) enter something called "quirks mode". This basically means that the browser assumes the website was written by a "n00b" and tries to compensate by changing bits of your site. Therefore a very nice a well-formatted XHTML/CSS document might not look right.



I always recommend beginners to read through the tutorial on http://htmldog.com/ . It's very well-written and sets you off on the right foot of conforming to W3C standards!



If you want to have your website checked to see if it conforms, go to http://validator.w3.org .







I think it's very wise of you to learn XHTML, CSS and JavaScript as your first step. HTML is kind of irrelavent, and XML is only useful if you have major data-driven websites such as a directory of some kind. Say if you had a business and wanted to create an identical page for every product you offer with a photo, part # and technical information. Instead of creating 200 individual webpages, you'd place all the information in an XML document and call it with JavaScript or PHP.



XML documents are identified by this DTD:


version="version_number"

encoding="encoding_declaration"

standalone="standalone_status" ?>



It's important to note though that a user would never directly view an XML page. The XML files contain information which is arranged/put in order by an XHTML document, which in turn is stylized by a CSS stylesheet!

I like to analogize it to a recipe:

XML = The Ingredients

XHTML = The procedure

CSS = The icing



On most simple websites the XML and XHTML will be in one place. Personally I prefer to use PHP and SQL for my data management, though.









Now getting back to the subject of Dreamweaver. I think it's an excellent program, but one should not attempt to use it without a firm knowledge of their markup and scripting languages. The nice thing about Dreamweaver is that it allows you to instantly visualize your code as well as giving you tips as you type on proper syntax, etc. It also allows you to drag thing into the position you want rather than playing around with the CSS for hours to find the ideal numer of pixels to offset a textbox. :)





Good luck!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...