So I started learning HTML/CSS/JS/PHP about 1 year ago. I've done an adequate amount in both Web Design and Development. Can someone please tell me why there are so many "restrictions" in HTML especially. For example you can't overuse the id attribute, and you also can't abuse certain html tags. WHY?, does it really matter what I use?
Wouldn't this go into Computer Science?
Yes, but there is like no one online..
Ah okay.
These guidelines are optimized for making substantial sized websites. Obviously if you have your own website, you can do whatever you want, and nobody can bug you. However, if you work on a large website where multiple people work on different pieces, you need to have some guidelines so that the work will be uniform and work together. Worse, if you write HTML generator code, then it is even more important to have the correct guidelines set up because generators can generate millions lines of code in no time, and they might be on real time. Even more so, HTML is not supposed to take care of display, just content. CSS is supposed to take care of the page layout so that pages look reasonably nice and similar in all browsers, all sizes of windows, all aspect ratios, etc. W3schools has excellent advice on what to do and what not to do. They also have HTML and CSS checkers. If you have not already visited W3schools.com, here are some links for html and css: http://www.w3schools.com/html/ http://www.w3schools.com/css/
@CoconutJJ I understand the CS section is slow, but these questions will still be closed by mods when posted in the wrong section @mathmate why do you not answer more questions in the CS section? You obviously knowyour stuff. :P
Same problem as coco... too slow there!
Join our real-time social learning platform and learn together with your friends!