So when dealing with web design, two terms pop up a lot, HTML(hypertext mark-up language) and CSS (Cascading Style Sheets). Now HTML has been defined enough times, the way the page talks to the browser essentially, but what are cascading style sheets exactly?
In a word processor, you have the ability to create text and insert images and symbols, and the ability to change those in size and shape, where it is located and how it is generally viewed. In web design, the first part is HTML, the later represents the cascading style sheets. Overall it creates the design of the page (or site) and how it will appear to the user. This is important to make the page appealing and usable. If improper styles are applied it may become difficult or impossible to use the page.
Style sheet are cascading for one simple reason, whose on top. Multiple style sheets can be used on the same page, but only one will be applied to a certain tag, which ever one has the highest priority. It starts off with any sheets that are outside the HTML document, or external style sheets. Then those applied within the <head>, those applied to specific tags, and finally those applied by the user. This allows for the most specific styles to be applied to certain sections while not having to make a unique style sheet for every section, and in the end the user has the final say.
Using style sheets means pages can get more creative and step out from the common everyday structure.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.