Category: HTML

Headings in HTML5 with Example

In HTML5, there are 6 levels of headings.  Headings are nothing more than a big bold text which mainly used to represent topic of the article.  Example is given below of all 6 levels of headings. <html> <head> <title>HTML5 Tutorials for Beginners </title> </head> <body> <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5>

Attributes in HTML5

Attributes in HTML give additional information about an element.  An element can have one or more attributes.  These attributes are placed inside a starting tag.  These attributes can also be seen as additional feature of an element.  For example, a body tag can have bgcolor attribute which will change the entire background of an HTML

Structure of HTML Document

In HTML, we have nested elements.  Each element has a starting tag and ending tag.  The starting tag and ending tag both are surrounded by angular brackets (< >).  The only difference between these two tags is that the ending tag has forward slash (/) in front of tag name.  These tags tell the browser

What is HTML?

HTML Stands for Hyper Text Markup Language. Each and every website in World Wide Web is structured using HTML syntax.  In a web page, we have different types of elements like text, images, video etc.  Each of them is marked using HTML syntax in the form of tags.  These tags will let the browser know