Controlling the presentation elements of HTML becomes a lot easier with the use of another coding software by the name of CSS - Cascading Style Sheets
HTML is used to structure the content. CSS is used for formatting/styling that structured content.
Instead of creating different style tags in HTML for every single element on every single page, CSS universally cascades styles across a whole HTML document or set of pages.
With CSS you can:
- Change font color and style
- Change dimensions of objects (<img> and <div>)
- Add margins and padding
- Position and float objects
- Change the colours of objects, text, links etc
- Control how links look and behave
- Control how images look
- Make gradients, drop shadows
- Make rounded corners and other basic special effects
- Control the layout of many different pages from one single style sheet
- You have more precise control of the layout compared to HTML
No comments:
Post a Comment