HTML Basic Examples  part -02

  • HTML Links


  • HTML links are defined with the tag:

  • Example


  • <a href="https://www.w3schools.com">This is a link</a>
  • The link's destination is specified in the href attribute. 
    Attributes are used to provide additional information about HTML elements.
    You will learn more about attributes in a later chapter.
      
  •  




  • HTML Links


    HTML links are defined with the a tag:


    This is a link 
  •  
  •  
  •  
  • HTML Images

    HTML images are defined with the tag.
    The source file (src), alternative text (alt), width, and height are provided as attributes:


    HTML Buttons

    HTML buttons are defined with the tag:

    Example

    <button>Click me</button>

टिप्पणियाँ