Saturday, May 4, 2024
HomeCSSThe tackle component | HTML Tutorials

The tackle component | HTML Tutorials


The tackle HTML component (<tackle>) is a method to outline that the content material inside the tackle offers contact data for an individual, folks or an organisation. The contact data generally is a vary of data equivalent to:

  • e mail tackle
  • telephone quantity
  • social media handles
  • bodily tackle
  • geographic coordinates

When utilizing the tackle component, the contact data supplied will likely be utilized to the closest article or physique component ancestor. For instance, should you had an weblog publish on a web site you might put the content material of that weblog publish in an article component in addition to the writer particulars, together with contact data which might be contained in an tackle component. By doing this we’re then saying, that is the contact data for the writer who wrote this text.

You might also have contact data for the entire web site, for instance, on most web sites the contact data is within the footer. Once more we’ll use the tackle component to offer context and since it’s nearest ancestor would be the physique component then it’s assumed that the contact data is for the entire doc.

This provides us the flexibility to make use of a number of tackle parts on an online web page.

Extra HTML tutorials

Michael Gearon

Written by

Michael Gearon

Michael Gearon is a Senior Interplay Designer at Authorities Digital Service (GDS) in Cardiff. Michael Gearon is likely one of the authors of The Tiny CSS Tasks e book, revealed by Manning Publications. Beforehand Mike was a product designer on the GoCo Group together with GoCompare, MyVoucherCodes and WeFlip. As nicely working for manufacturers in South Wales like BrandContent and HEOR.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments