What is HTML?
HTML is short for Hyper Text Markup Language, and
it's a widely-used standard language for creating web pages and displaying
information on websites. Essentially, HTML defines the basic structure of a web
page using a series of elements or tags, much like a document might have
headings, paragraphs, and other formatting. Since its invention in 1989 by Tim
Berners Lee, HTML has been a fundamental technology for web development.
What is the use of HTML?
Hyper Text Markup Language, or HTML, is a crucial
tool in defining the skeletal structure of any website or web page. It is the
foundation upon which all other content and features are built. HTML is used to
define many common elements, such as paragraphs, line breaks, block elements,
and headings.
How are Elements / Tags used?
HTML is a markup language that contains over a hundred built-in tags to define the structure of a web page. Each tag starts with its opening symbol, <Tag Name>, and ends with its closing symbol, </Tag Name>.
When it comes to the basic structure of a web page, there are three essential tags. Firstly, the <html> tag indicates that the document is an HTML document. Secondly, the <head> tag creates the head of the web page, which contains essential information such as Charset, Meta Tags, external style sheets, or any other external links. Finally, the <body> tag defines and creates the structure of the entire web page.
Formatting in HTML
· Paragraphs and Line Breaks
Paragraphs are created using the HTML <p> element, which is one of the
most frequently used elements on a web page. Line breaks are similar to print
media, visually separating paragraphs from other content to emphasize their
semantic separation. Block elements, such as <div>, <article>, and
<table>, create spacing below themselves and allow HTML to divide a
webpage into sections.
·
Headings of Paragraphs
Headings and
paragraphs work in tandem to establish a web page's structure and content. HTML
provides six heading elements, numbered from 1 through 6, with h1 being the
most significant. h1 typically contains the content's title, while h2
represents a subsection. The subsequent headings, h3 through h6, identify
further subjects in subsections.
· Common Formatting of Document
HTML has its basic feature to format a web page like a document. Strong tag <Strong> tag can be used to make selected text Bold. Italic tag <i> is used to make text italic whereas, <u> tag is used to underline the text.
"It is important to mention that HTML is a markup language and cannot be used as a programming language. It only defines the Skelton structure and content of a web page but cannot provide dynamic features or interactions."
No comments:
Post a Comment