The html element is the root of an HTML document. All other elements, including body and head are descendants of this element. The html tag sometimes include language declarations through the lang attribute.


Attributes Function
manifest points to the cache manifest. This is used in times of network connections lost
xmlns specifies the XML namespace. It is a way for referencing elements and attributes.


<html lang="en" dir="ltr" class="client-nojs">
<html lang="en-US">
<html lang="en-US" prefix="og:">


An a element is commonly referred to as the anchor element. It connects pages.

An anchor link can be wrapped around text and images.


Attributes Function
href defines the destination of the anchor tag. It can be an image, a web page or another part of the same web page
target specifies where to open the linked web page


An anchor link is used to define a destination using its href attribute.


<a href="">Gist Pages</a>
<a href=""><img src="" /></a>