What are HTML Tags and HTML Elements

SHARE:

In this article today I tell you about the very basic Html tags with example and Html elements when you need to start web designing in your life, or when you need to learn HTML.

What is HTML?

Html is the Hypertext Markup language it is used for making website Structure. it is the main language that uses in every website. it is the basic key to start make weblogs. 

What are HTML Elements? 

An element is a construct (made by combination) consisting (usually) of:
  • An opening Html tag,
  • some optional attributes and their respective values, 
  • some content,
  • a closing tag.


What is HTML Tags and HTML Elements


HTML Elements can contain any number of further elements, which are in turn made up of
  • Html Tags
  • Html Attributes
  • Values
  • Contents.

The opening HTML tag can contain multiple attributes, but it cannot contain other elements or tags, while the closing tag cannot contain anything but itself not all elements have closing tags.

The above-said HTML elements are called self-closing elements, empty elements, or replaced elements whereas the elements with the ending and closing tags are called as paired, container tags.

basic HTML tags with example

           <br>, and <hr>.
A self-closing element requires a space and a trailing slash,
such as
<br /> or <hr />.
basic html tags with example



HTML Attributes


Attributes appear within tags, and they can only contain the value of the attribute.

They can have multiple values separated by space.


Basic HTML Page Structure




<!DOCTYPE HTML>

<html>

<head>

<meta name="author" content=“basic Example">

<title>Untitled Document</title>

</head>

<body>

</body>

</html>


HTML Tags


The <html> tag surrounds the entire HTML document.
This tag tells the client browser where the document begins and ends.


Head

The <head> tag delimits the heading of the HTML document.
or 
The <head> element creates a header section for the document.
The heading section of the document contains certain heading information for the document that is not the actual content.

The document’s title, Meta information, Document scripts are all contained in the <head> section.
Meta 

Metadata is data (information) about data.The <meta> tag provides metadata about the HTML document. 

Metadata will not be displayed on the page but will be machine parables. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.

The metadata can be used by browsers (how to display content or reload the page), search engines (keywords), or other web services. further, you can know about Search Engine Optimization 



Example <head> <meta name="description" content="Free Web tutorials"> <meta name="keywords" content="HTML,CSS,XML,JavaScript"> <meta name="author" content="basic Example"> </head>



HTML Body


This is the main body of an HTML document where all of the content is placed.

This is the content that people will see, hear, or otherwise experience when they visit the web page.

HTML Title

You should specify a title for every page that you write inside the <title> element.

This element is a child of the <head> element). It is used in several ways: It displays at the very top of a browser window.

It is used as the default name for a bookmark in browsers. Therefore it is important to use a title that really describes the content of your site.

The <title> element should contain only the text for the title and it may not contain any other elements.

HTML Attributes are used to amplify tags.


What we mean by amplifying is that when a web browser interprets a tag, it will also search for set attributes and then display the element (tags+attributes) in its entirety.



Many HTML tags have a unique set of their own attributes.


Attributes-Chart



it's the basic Html tags and elements I hope you understood these. 

COMMENTS

Name

Blogging,15,C Language,3,How to,26,Make Money,11,SEO,27,Web Development,24,
ltr
item
Weblog Tricks - Helping You Succeed To Become an entrepreneur: What are HTML Tags and HTML Elements
What are HTML Tags and HTML Elements
What is HTML Elements and Tags. html5 tag that define HTML elements List with Example Structure with Body Head Functions also basic html tags with example
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWC1ttW9veDS8CVHUDeA6KHZN_hEVZ4xvuMqr46QVRmVtiqGmaHNqla1jrvDPCraam9-V3MSbfPdhbsFlyMGMAXgpHW0nv5UErrGYSPd6j5vWs2788JPBU5v-F3XUkEvtP_OZp7b66QKuJ/s640/download.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWC1ttW9veDS8CVHUDeA6KHZN_hEVZ4xvuMqr46QVRmVtiqGmaHNqla1jrvDPCraam9-V3MSbfPdhbsFlyMGMAXgpHW0nv5UErrGYSPd6j5vWs2788JPBU5v-F3XUkEvtP_OZp7b66QKuJ/s72-c/download.jpg
Weblog Tricks - Helping You Succeed To Become an entrepreneur
https://weblogtrickss.blogspot.com/2016/10/html-basic-elements-and-tags.html
https://weblogtrickss.blogspot.com/
https://weblogtrickss.blogspot.com/
https://weblogtrickss.blogspot.com/2016/10/html-basic-elements-and-tags.html
true
3158682668530211189
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy