Attributes Elements can have attributes <coursecourse id="CS-101"> <title>Intro.to Computer Science</title> <dept name>Comp.Sci.</dept name> <credits>4 </credits> </course> Attributes are specified by name=value pairs inside the starting tag of an element An element may have several attributes,but each attribute name can only occur once <course course id=“CS-101”credits=“4"> Database System Concepts-6th Edition 23.12 @Silberschatz,Korth and SudarshanDatabase System Concepts - 6 23.12 ©Silberschatz, Korth and Sudarshan th Edition Attributes Elements can have attributes <course course_id= “CS-101”> <title> Intro. to Computer Science</title> <dept name> Comp. Sci. </dept name> <credits> 4 </credits> </course> Attributes are specified by name=value pairs inside the starting tag of an element An element may have several attributes, but each attribute name can only occur once <course course_id = “CS-101” credits=“4”>