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
hrefattribute.
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 linkHTML Images
HTML images are defined with thetag.
The source file (src), alternative text (alt),width, andheightare provided as attributes:
HTML Buttons
HTML buttons are defined with thetag:
Example
<button>Click me</button>

टिप्पणियाँ
एक टिप्पणी भेजें