HTML is a very uncomplicated SGML-based markup language used to create hypermedia documents. HTML documents make use of tags to specify formatting or structural information.HTML, which stands for Hypertext Markup Language, is the core language used to create an HTML page. A web page can help you reach out to new customers and is an advertising medium. HTML uses document tags to explain the visual appearance of an HTML page or tell your browser what it should display and how it should display it.
These documents are called web pages are saved in text format. They can be read and displayed as web pages on any web browser like the Internet Explorer or Firefox that uses the tags to interpret the content of the page.
Elements and tags in an HTML page
The pages written in HTML should have the HTML tag as the very first line of code. A well written page will have both opening and closing tags. When the opening tag is written
the closing tag is written
with / symbol preceding the HTML. Next, it follows and contains the HEAD and BODY. The HEAD contains information about the document, such as its title and keywords, while the BODY contains the actual content of the document, made up of block-level elements and inline elements like text, images, tables, forms, scripts, etc. Thus, a simple page written in HTML will be:
In the above example, the HTML tag describes the document as HTML type to a web browser. The HEAD tag which includes the page title also contains Meta tags and a few other HTML elements. The BODY tag is the main body of the document and includes and declares the heading tag
and the new paragraph tag.
Special tags with angle brackets are used to indicate formatting or structural information on a web page. Web browsers are interpreters for the HTML language. When a web browser like Internet Explorer opens a ".html" file, it reads all the tags and then displays its own interpretation of the page.
The most important aspect of the HTML document is to allow networked hypertext. An anchor tag '