Lab 10 Reflection
In Lab 10 we used external CSS to stylize our webpage about our favicon. The same way we started lab 9 we opened up a new HTML file. But instead of setting up the style tags we opened up another document, a .css file. Before continuing any further I made sure both of these files were saved in the same folder. Then, in the HTML file I linked the document to the CSS file in the head using the <link> tag. The link tag had 3 attributes; rel, type, and href. The rel, or relation to the document, was "stylesheet" and the type, for type of document, was "text/css". For href I was able to put the name of the CSS file since the CSS and HTML file were in the same folder, so it will be able to find the stylesheet.
After linking the two files the way I stylized the webpage was just like how I stylized the webpage for lab 9. The way I selected items and changed the value of their property remained the same because CSS is used the same way in between <styles> and externally. The only difference between internal and external CSS is that in internal you refer to the same document to change looks while in external you switch between documents to change looks.
These skills are important to a web designer because they further expand a web designer's ability to style a web page using CSS. In lab 9 the use of internal CSS made the styling process less tedious, more organized, and a bit faster. With external CSS all of those advantages are mostly retained but you are able to style multiple pages using the same sheet. All an HTML file needs to use an external CSS file is a link to it in its head. meaning multiple HTML files could be linked to the same style sheet. This can prove very convenient for making sites where pages are mostly the same style. This also helps cut down development time for web designers that need to meet tight deadlines since you aren't repeating code over and over again.
After linking the two files the way I stylized the webpage was just like how I stylized the webpage for lab 9. The way I selected items and changed the value of their property remained the same because CSS is used the same way in between <styles> and externally. The only difference between internal and external CSS is that in internal you refer to the same document to change looks while in external you switch between documents to change looks.
These skills are important to a web designer because they further expand a web designer's ability to style a web page using CSS. In lab 9 the use of internal CSS made the styling process less tedious, more organized, and a bit faster. With external CSS all of those advantages are mostly retained but you are able to style multiple pages using the same sheet. All an HTML file needs to use an external CSS file is a link to it in its head. meaning multiple HTML files could be linked to the same style sheet. This can prove very convenient for making sites where pages are mostly the same style. This also helps cut down development time for web designers that need to meet tight deadlines since you aren't repeating code over and over again.
Comments
Post a Comment