Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Coding Html Properly In The New Age
Rating 4 V
develCuy
post May 9 2007, 08:15 PM
Post #11


Member - Active Contributor
Group Icon

Group: Members
Posts: 88
Joined: 5-April 07
From: Cusco - Peru
Member No.: 21,283



Good tutorial!!!

Is a well done reference to keep well maintained HTML code. In FCKEditor I noticed that when you look at the source code(clicking the button: source), the code is perfectly indented, well-formed and normalized. The same with Nvu(HTML editor based on Firefox) that is wonderful but only for HTML. When You edit the code and go back to preview mode, the engine reconstruct the code, generating a validated version to be rendered for the engine.
In my experience I learned to use only the needed tags. Bad code is rendered slower and isn't compatible with common browsers: Internet Explorer(IE), Firefox(FF), Safari. Some sites are using different versions of the same view for every browser. I prefer to have one unique code, compatible, tested and stable.

Talking about the use of DIV instead TABLE and P. I hate to see <DIV></DIV> instead <br /> or <BR>. Many people doesn't care about the code, they only use Dreamweaver or similar, then go to IE... if looks "OK" they think that the work is finished. There is another coders that did not used CSS rules good, then DIVs are a nightmare, because sometimes internal DIVs incorrectly inherit the font-style, margin and alignment. I hope that CSS3 improve drastically the way that HTML is coded.

In that while we still have to fight with clients that are still using IE 5.5 or 4.0, Netscape, Old Firefox 1.0.3 clones, etc. I know that some people uses XML to HTML converters, the problem is that this practice requires many CPU load, they have to use caching... Is terrible to have all this complications but is the way this world runs.

Have a good coding.

Blessings!
Go to the top of the page
 
+Quote Post
kgd2006
post May 11 2007, 11:13 AM
Post #12


Premium Member
Group Icon

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



Thats pretty good info for the rookie web developers out there. You covered the basis on xhtml and efficient coding techniques. I sometimes find myself messing up my nests of tags haha, But I eventually clean it up in the end. XHTML is definitely the future and will replace html itself soon. Now with the transfer of the new technology which is ajax, more people will try to learn xml which will make them eventually use xhtml style syntax. I just wish I could make more projects for myself so that I could perfect my skills.
Go to the top of the page
 
+Quote Post
Chesso
post May 11 2007, 12:10 PM
Post #13


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833
myCENTs:89.25



I just build everything for FireFox and it seems to generate, not good but usable in Internet Explorer 5/6 and presumably above.

I have no idea why anyone would replace <br /> or <br> with a <div> tag unless they are looking for specific control over the spacing between line breaks (unless the br tag can be styled to get the same effect?).

P.S.: Ajax is getting old and well out-dated, majority seem to be going PHP.
Go to the top of the page
 
+Quote Post
mvs.en
post May 11 2007, 02:59 PM
Post #14


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 24
Joined: 28-April 07
From: Nova Scotia, Canada
Member No.: 21,684



QUOTE(Chesso @ May 11 2007, 09:10 AM) *
P.S.: Ajax is getting old and well out-dated, majority seem to be going PHP.


Yeah, I have no personal experience with Ajax... But I am going to change as much as I can over to PHP.
I haven't really coded any website at ALL in like two years now and I'm trying to get back into it.
The last time I did... It was a small crappy website that was pretty much all HTML with a TINY bit of CSS. (I really hate CSS so I avoid using it as often as physically possible... Even if it's more efficient, I don't like how it's set up)

Anyway
As I was saying, just an hour or two ago I was reading up about PHP tutorials and such because I really need to learn more languages/whatever.

I'll soon need to start actually coding my website though, because people are starting to demand it of me and I've been wanting to make a new website for years... My only problem has been that I can never find a theme for it that requires the attention of other people... I think I've found one though...
But I'm starting to get way off topic, I apologize. <___<
Go to the top of the page
 
+Quote Post
SonicHabbo
post Jul 12 2007, 09:26 AM
Post #15


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 4
Joined: 12-July 07
Member No.: 23,310



That Really Helped :PThanks It Really Helped
Go to the top of the page
 
+Quote Post
Quatrux
post Jul 12 2007, 04:59 PM
Post #16


the Q
Group Icon

Group: [HOSTED]
Posts: 1,094
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:70.96



Is it me, or is it people who talk without any knowledge? AJAX technology isn't getting old and PHP isn't even something similar to AJAX, PHP is a scripting language which syntax is similar to C and it has a lot of features copied from other languages and usually is used for web programming, so if you know PHP with OOP then it is quite easy to learn some other languages.. and AJAX stands for Asynchronous JavaScript and XML, so that means that you can change or do anything what Javascript can do with a page without refreshing all of it in a browser, using XMLHttpRequest() with Javascript, you can connect to a server and send a request and get an answer, I mean send and receive data.. it was created to send XML data, but personally I send plain data, due to it is smaller in bytes and control the data with PHP on the server, but you can use any language or control method you like.

And a guy said that he doesn't like CSS, but likes to use plain HTML, HTML isn't created for changing font colour, font size and tables aren't meant for creating your layout bars, it is a bad habit to not like CSS, due to the site look needs to be different only by changing CSS and leaving the same HTML, even though a lot of people have problems with IE, but you really can make it work on almost all browsers the same (usually) !!!
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Basic Tips and Tricks in HTML(15)
  2. Embedding XML into HTML(2)
  3. Converting HTML over to XHTML(13)
  4. Rapid HTML code generation using simple PHP(8)
  5. Force Object To Load Last(2)
  6. Creating Tooltips(7)
  7. Free Shoutbox? HTML, Flash or PHP Code(24)
  8. HTM vs HTML: Whats The Difference ?(22)
  9. Converting PSD To HTML(11)
  10. Help, My Laptop Charger Is Not Working Properly(17)
  11. Tutorial: Dreamweaver, 3ds Max, Flash, Html, Css(8)
  12. Html Basic Tutorial(9)
  13. Sitepoint's Css And Html Reference Sites(2)
  14. W3 Schools(1)
  15. Increase Your Knowledge Of Html Language(11)
  1. Javascript Tutorial For Beginner(0)
  2. Coding Layouts(4)
  3. Yaml - (x)html/css Framework(2)
  4. Get The Current Running Machine Ip-c/c++ Coding(2)
  5. Style P And H? Html Tags(2)
  6. How To: Display A Members/user List.(3)
  7. Web Editor(0)
  8. Indentation In Html(4)
  9. Joomla Template Kit Extension For Nvu/composer(3)
  10. What You Need Before You Can Create A Text-based Game..(7)
  11. Basic Html Tutorial(1)
  12. Good Books For Html And Css Beginners(1)
  13. Basic C++ Coding(9)


 



- Lo-Fi Version Time is now: 20th November 2008 - 06:39 PM