DEV Community

Mohamed Ajmal
Mohamed Ajmal

Posted on

HTML Introduction.

What is HTML - HTML (Hyper Text Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. That tells the browser how to display content.

Doctype - The <!DOCTYPE> declaration in HTML is a special instruction that tells the web browser which version of HTML the page is written in, so it can render the page correctly. It must be the very first thing in an HTML document, before the tag.

Meta tags : Meta tags in HTML are elements placed inside the

section of a webpage that provide metadata—information about the webpage—to browsers, search engines, and other services. They do not display content on the page but are crucial for SEO, responsiveness, encoding, and sharing.

Semantic tags : Semantic tags in HTML are elements that clearly describe their meaning and purpose both to the browser and to developers. Unlike generic

and tags, semantic tags give context about the content they enclose, improving accessibility, SEO, and code readability.

HTML Attributes : Elements in HTML have attributes; these are additional values that configure the elements or adjust their behavior in various ways to meet the criteria the users want.

ref : https://developer.mozilla.org/en-US/docs/Web/HTML.

Top comments (0)