HTML contains both content and format information, mixed together in the coding.  Therefore, to change the style (e.g. font color, background color) is tedious.
CSS separate the formatting to a separate section (internal) or document (external).  CSS makes changes to web page format easier.  By dividing the web page into divisions (div tag), each division can be manipulated by a style section individually.
 
No comments:
Post a Comment