Sharp Tutorial
HTML Elements

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

HTML

  • HTML Home
  • Introduction
  • HTML Element
  • Commonly used tags
  • Hyperlinks
  • Images in HTML
  • Div in HTML
  • Html Forms
  • Html Tables
  • Miscellaneous Topics

CSS

  • Introduction to CSS
  • How to apply CSS
  • CSS Selectors
  • Border in CSS
  • Text Formatting in CSS
  • Font Properties
  • Margin in CSS
  • CSS in List
  • CSS in Link
  • CSS Animation
  • CSS Effects
  • CSS Pagination
  • CSS Media Query

Java Script

  • Java Script Home
  • Introduction to Java Script
  • Variable in Java Script
  • Operators in Java Script
  • If-Else in Java Script
  • Loops in Java Script
  • Array in Java Script
  • Function in Java Script
  • Objects in Java Script
  • Java Script DOM

HTML Elements

HTML web page is consisted of elements which have the content embedded in starting tag and closing tag.

Some HTML tags even may not have their closing tags like tag used to break a line.

Even HTML File may have content without any html tag also.

HTML Heading Tags Different Heading may be created using the different heading tag in html like in following example.

  1. Heading 1

  2. Heading 2

  3. Heading 3

  4. Heading 4

  5. Heading 5
  6. Heading 6

If we dont close the tag by closing tag it means the imapact of the tag goes on till tag is not closed.

Bold: If we want to make some text bold then we use <b> as starting tag and </b> as closing tag. Example for the following element is given below

<!DOCTYPE html> 
<html>
<head>
<title>HTML Element Page</title>
</head>
<body>
<h1><b>This is first HTML Web Page</b></h1>
<p>Welcome to the HTML tutorial</p> </body>
</html>

If we don’t use closing tag it will print the whole text in bold

<!DOCTYPE html> 
<html>
<head>
<title>HTML Element Page</title>
</head>
<body>
<h1><b>This is first HTML Web Page</h1>
<p>Welcome to the HTML tutorial</p> </body>
</html>

Tag used for making paragraphs is <p> </p>

Enquiry about Course

Ask your Question

Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial