Each element of HTML gives a guide to the browser how to display the contents inside it. Show a cross line that tells the element browser as <hr />. Again, make a big font title for <h1> </ h1> etc.
There are many elements that can be added to the browser as it adds more. It adds new information to an element that adds an element of that element to it. You can also specify the color of the title with the attribute when the h1 element asks the browser to display the large font title. Such as
<h1 style = "color: yellow;"> HTML Attribute tutorial </ h1>
** The rules of attribute writing are the name of the attribute first then the value of the quotation (“or”) with the equal sign (=). (All lowercase letters)
There are basically 3 types of attribute groups that can be in an element. Most of the use of core attribute will be seen in this.
id, class, title, style is the core attribute. From then onwards in the next tutorials, these attributes will be called Global Attributes. HTML 5 contains a number of new attributes such as contenteditable, contextmenu, draggable, dropzone, and more details will be discussed later. Keep in mind that the global attribute is used in all elements except for some HTML elements.
Internationalization attributes are dir, lang
The element can be named after id, class, and then styling CSS by that name. They are in the CSS tutorial.
The title attribute can be displayed in the form of a tooltip if it is an element, such as
<h2 title="Hello World">Welcome to Internet</h2>
Welcome to Internet
Take Mais to the top and then see “Hello World” in the form of a tooltip.
In the first example of style attribute, we have just changed the color here and you can use many CSS properties.
I did not talk about other attributes, but I’ll talk about it in any tutorial.