Sign up now
to enroll in courses, follow best educators, interact with the community and track your progress.
Web Development HTML-5 (In Hindi)
75 plays

Explanation of Attributes and Hyperlink

Kajal jaisansaria
I have completed my in computer science.I love teaching, travelling,surfing net.

Unacademy user
total Kitna part aayega

  2. 1 am Kajal Jaisansaria. MSc in computer science Internet surfing, Play outdoor games Interacting with people Sharing my knowledge &learning on the go 2

  3. ATTRIBUTES Attributes provide additional information about the HTML elements 3

  4. HTML ATTRIBUTES HTML tags can have attributes Attributes always come in name/value pairs like this: name-"value" 03 Attributes are always specified in the start tag of an HTML element. 4

  5. ATTRIBUTES EXAMPLE-I <body> defines the body of html document. <body bgcolor-"red"> has additional information about the background color. 5

  6. EXAMPLE <html> <body bgcolor-"red"> <h2> This is kajak/h2> </body> </html> 6

  7. OUTPUT This is kajal

  8. HYPERLINKS HTML uses a hyperlink to link to another documents on the web. Hyper Links: are highlighted and underlined text. When you click on it, it takes you to another page on the web. Hyperlinks are used for linking: > within the same page (Named tag:s > To another page in your web site (Relative Link or local link) To anotner page outside your web site Absolute or remote link) >Email Link 8

  9. CREATE HYPERLINK <html> <body> xp> <a href="lastpage.html"> my web </a> is a home design page S/p> </body> </html> CS 0

  10. OUTPUT my web is a home design page 10