Posts

Showing posts with the label Attributes

Basic Elements - Learn HTML - Free Interactive HTML Tutorial

Image
Basic Elements The use of basic HTML Tags.. Coding.... <!DOCTYPE html> <html> <head> <title>Example page</title> </head> <body> <h1>Heading 1</h1> <h2>Heading 1</h2> <h3>Heading 1</h3> <h4>Heading 1</h4> <h5>Heading 1</h5> <h6>Heading 1</h6> <p>This is peragraph.</p> <p>Horizontal Line Below</p> <hr /> </body> </html> Output Of Above Code... Output

HTML Attribute

HTML Attribute Whats Is Attributes? Attributes provide additional information about HTML. Attributes Of HTML: All HTML Tags can have  attributes. Attributes provide extra  information  about an Tage. ALT Specifies an alternative text for an image, when the image cannot be displayed Disabled Specifies that an input element should be disabled Href Specifies the URL (web address) for a link Id Specifies a unique id for an element Src Specifies the URL (web address) for an image Style Specifies an inline CSS style for an element Title Specifies extra information about an element (displayed as a tool tip)