HTML ATTRIBUTES


What is Attribute?
  • Attributes are Special Words.
  • Attributes provide Information.
  • Attributes are mainly used in the opening tag.
  • All HTML Elements have some attributes.

So Html Attributes can may defined as :

Those Special Words which are used inside a tag which gives Information about a HTML Element.

For Example :

< img src="URL to Img" width="200" height="400" alt="Image Name">

Here in The Example : "img" tag is used in which src ,width , height and alt attribute is used within the "img" tag which explains or give information to the tag.

So HTML attributes are in name value form separated by "=" and value covered with Double Inverted Commas.


These are the Some HTML attributes with their Functions/Usability :

 <img src="URL TO IMG">    Specifies the Path or Destination of Image Input.
 <video border="value">    Specifies the Border Thickness of Video Input.
 <img height="value"width="value">    Specifies the Height and Width of an Image Input.
 <a href="URL Here">    Specifies the Destination path of a Hyperlink.
 <p color="ColorName"align="center">    Specifies the Color and alignment of a paragraph.


For a Complete List of Html Attributes with their usage Click the Download Button.

Introduction to HTML5



What is HTML?
  • HTML: Hyper Text Markup Language.
  • HTML is basically a programming language which is used for structuring the content in web.
  • It is used for creating Webpages and Web applications with other Programming Languages like Javascript ,PHP etc.
  • HTML is an essential part of a Webpage as it is the building block of a web.
  • HTML elements consists of various tags For Example :
<p>Your Content Here</p>

Here the tag "<p>" stands for Paragraph This tag is basically used for starting a Paragraph.

What is HTML5?

  • HTML5 is a web standard dialect. It is the new and current version of HTML.
  • It was published by W3C in 2014.
  • HTML5 has now become so simple and easy to use.
  • This version of HTML supports the latest Multimedia also it is very friendly with the browser.
  • It has now included new tags which are simple and straightforward for example:
<video><source src="Here the link of Video"></video>
Here the tag for inserting video we used is "<video>" and for the source file we used tag "<source>" .