Web Design Week 5
25/9/17 Week 5 Kamal Afiq [0330643] Web Design & New Media Week 5 Lecture Notes Week 5 Lecture Old HTML used generic tags. HTML5 uses new Semantic elements like <Footer> and <Header>. These semantic elements can tell developers how to separate information. Id and Class attributes can be used to identify information and content. ID attribute Every HTML carries ID attributes. It is used to identify elements from others on a page. No two elements can have the same ID attribute. Class attribute Every HTML element can also carry a class attribute. Several elements can be identified from others on a page. They can be used like this: <img src="images/randomimage.jpeg" class="classname" /> <img src="images/randomimage.jpeg" id="idname" /> Using these attributes doesn't actually change how they look on the page. It only changes if there is a CSS rule that indicates that they should...