, paragraph tag
and other tags
I used her or him up until now within best function, but the majority of your HTML labels can also keeps services, being extra bits of information.
An attribute is utilized to determine the advantages out-of an enthusiastic HTML element and that is placed in the element’s opening level. All of the services consist away from two parts ? a name and you can a respect
The name is the property you want to set. For example, the paragraph
element in the analogy offers an element whoever name is fall into line, that can be used to point the latest positioning off part into the the new webpage.
The value is what you want the value of the house is lay and constantly lay inside quotations. New below example shows around three you’ll be able to philosophy out of fall into line characteristic: leftover, heart and you will right.
Attribute labels and you will trait values is actually instance-insensitive. But not, the internet Consortium (W3C) suggests lowercase qualities/characteristic beliefs within their HTML 4 testimonial. (tovább…)