Connect with us

HTML

HTML Elements

The HTML element starts with open tag and ends with a closing tag, where the element name is preceded by a forward slash. Some HTML elements do not have an end tag.

mm

Published

on

An HTML element starts with open tag and ends with a closing tag, where the element name is preceded by a forward slash. Some HTML elements do not have an end tag.

Here is some HTML element example <p>….</p>, <h1>…</h1>, start with open tag and close with closing tag. Some HTML elements which don’t need to be closing tag, such as <img…/>, <hr /> and <br /> elements.

Example:–

<!DOCTYPE html>

<html>

<head>

<title>HTML Elements</title>

</head>

<body>

<h1>This is heading with open and closing tags</h1>

<p>This is paragraph with open and closing tags </p>

<br> This is line break tag which don’t need to be closing tag

</body>

</html>

 

Also Read :   HTML Head

Hi, Thank you for reading my article. I am Victor, a professional blogger from Jaipur, India.I started webetutorial for blogging & sharing solution for developer questions, and now it’s empowering globally by helping them to make money.I am writing about starting & managing a blogs, WordPress, Magento, Social Media, SEO, Marketing, making money online, Investment, Finance, Gadgets, Fitness and more.

Continue Reading
Advertisement
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

eleven − 3 =

HTML

HTML Character Sets

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

mm

Published

on

To display an HTML page properly, a web browser must know the character set to use.

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

ASCII supported numbers (0-9), English letters (A-Z), and some special characters. UTF-8 (Unicode) covers almost all of the characters and symbols in the world.

ISO-8859-1 was the default character. It also supported 256 different character codes.
The HTML charset Attribute:-
This is specified in the <meta> tag:-

<meta charset=”UTF-8″>

Also Read :   HTML Attributes
Continue Reading

Subscribe to our newsletter

Enter your email address to subscribe to blog and receive notifications of new articles by email.
100% Privacy. No spam guaranteed

Trending