In this article today I tell you about the very basic HTML tags and elements of HTML which use when you start web designing in your life, so, first of all, we get knowledge of HTML Elements.
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.
<br /> or <hr />.
Attributes appear within tags, and they can only contain the value of the attribute.
They can have multiple values separated by space.
The <html> tag surrounds the entire HTML document.
This tag tells the client browser where the document begins and ends.
The <head> tag delimits the heading of the HTML document.
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 actual content.
The document’s title, Meta information, Document scripts are all contained in the <head> section.
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.
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.
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.