Thursday, January 15, 2015
Blog Post 1
1) What is the most recent version of HTML being used today?
HTML 5 is the latest version in use today. It is more powerful than it's predecessors, with enhanced features and versatility. It offers options that were not offered in previous versions.
2) What are the differences between a CSS class and an ID?
Id's are unique, meaning they can only be used once. They are often used more frequently for the bigger elements on a page. Classes can be used multiple times and can be applied to multiple elements within the page. They are used often for smaller elements, especially when used for styling purposes.
3) Why is it important to separate content (HTML) from presentation (CSS)?
Separating html and css is important for overall styling ease and page load time. Having CSS separate from HTML allows you to make one change on the css file and it will be applied to all of your pages at once. This is both time-saving, efficient and convenient. It would be painstaking to change the color of one element across all the pages of a site. Another benefit of separating the two is page load time. Less information on the page ensures that the page will load faster and keeps the browser from having to load the same information each time you access a new page of the same website.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment