Introduction

Before reading this article please visit the following links:
HTML Attributes
The language Attribute
Example
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <body>
  4. <h1>My First Heading</h1>
  5. <p>My first paragraph.</p>
  6. </body>
  7. </html>
    Example
    1. <p title="c-sharpcorner">c-sharpcorner is a website in which the articles, blogs… etc are written on “TECHNOLOGY ”.
    2. </p>
    The href Attribute

    HTML links are defined with the <a> tag. The link address is specified in the href attribute.

    Example
    1. <a href="http://www.c-sharpcorner.com">This is a link</a>
    Size Attributes
    Example
    1. <img src=" E:\Walls\HTML\c#corner.jpg" width="104" height="142”

    The alt Attribute


    The alt attribute specifies an alternative text to be used when an HTML element cannot be displayed.
    The value of the attribute can be read by "screen readers". This way, someone "listening" to the webpage, in other words, a blind person, can "hear" the element.

    Example
    1. <img src=" E:\Walls\HTML\c#corner.jpg"alt="www.c-sharp corner.com" width="104" height="142” >
    Always Use Lowercase Attributes

    Summary