Recently one of my colleague asked me the question
'I am a Java resource. Is it necessary for me to learn and understand the web design?'
- Close all the HTML tags properly: If all the HTML tags are closed properly (i.e. inner tags are closed first and then the outer) most of the page layout problems will be solved. Most Java developers would be using a CSS written some other web designers and a template HTML page. When they want to modify or add any data to the HTML page, they usually cut and paste HTML tags and forgetting to close them properly. This may affect CSS styling and the page layout may collapse. Properly closing the HTML tags may save lots of HTML debugging time to those Java developers.
- Never use inline CSS styling / Scripting: This is the frequent mistake I've seen most of the Java developers doing while designing the page. They just embed in the servlet/JSP page itself. Avoid this kind inline definitions. Externalize styling and scripting. It makes the page to be re-designed easily without much effort. and helps us to organize the code better.
Above simple tips, if followed, could save lots and lots of time for a web design beginner.
Would you like to add anything to it? What are your tips / suggestions for a Java developer turned web designer?