Showing posts with label HTML Tags. Show all posts
Showing posts with label HTML Tags. Show all posts

Saturday, 29 May 2021

HTML < address > Tag

 


Definition and Usage

The <address> tag defines the contact information for the author/owner of a document or an article.

The contact information can be an email address, URL, physical address, phone number, social media handle, etc.

The text in the <address> element usually renders in italic, and browsers will always add a line break before and after the <address> element.

Sunday, 23 May 2021

HTML < abbr > Tag


 

HTML < abbr > Tag

Definition and Usage

The <abbr> tag defines an abbreviation or an acronym, like "HTML", "CSS", "Mr.", "Dr.", "ASAP", "ATM".


<!DOCTYPE html>
<html>
<body>

<h1>The abbr element</h1>

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

</body>
</html>

Thursday, 20 May 2021

HTML < a > Tag

 Definition and Usage

The <a> the tag defines a hyperlink, which is used to link from one page to another.

The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

By default, links will appear as follows in all browsers:

  • An unvisited link is underlined and blue
  • A visited link is underlined and purple
  • An active link is underlined and red

HTML < !DOCTYPE > Declaration

 Usage and definition

The <!DOCTYPE> declaration must start all HTML documents.

The statement is not an HTML tag. It's "information" about what sort of content to expect from the browser.

The statement is straightforward in HTML 5: