RivkaS Posted August 20, 2007 Share Posted August 20, 2007 I saw in orderly codes that they are written in a manner like ..>... ... >... .... >...>..and so on. Why is this done and what are the rules for it? Link to comment Share on other sites More sharing options...
Synook Posted August 20, 2007 Share Posted August 20, 2007 There are no "rules" for indentation, however it helps make code more readable and speeds up development of large files. Generally child tags would be indented, e.g. <div> <p>Text</p></div> And if content is longer than one line then it is block indented, e.g. <div> <p> ....................................................................... ....................................................................... ....................................................................... </p></div> Link to comment Share on other sites More sharing options...
RivkaS Posted August 20, 2007 Author Share Posted August 20, 2007 simple space, yes? I will try it next time. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.