Html Introduction..
HTML which stands for Hypertext Markup Language is a set of codes inside a file which displays on the internet. HTML can be likened to an uncompleted building which hasn’t been painted. It is the structure of a webpage..
MEANING OF CERTAIN TAGS:
• DOCTYPE: The Doctype tag tells us the version of HTML the page is written in.
• HTML TAG: HTML tag is a code that describes how a web page is formatted. HTML tag is the mother of all tags.
• HEAD TAG: This is a container for metadata (data about data), it is placed between the html and body tag. Metadata is data about the HTML document. Metadata is not displayed.
• BODY TAG: The body tag defines a document body. It contains all the contents of an HTML document such as headings, images, tables, list etc.
Tags are also divided into semantic (convey meaning) and non-semantic tags (doesn't convey meaning).
• Html, head, body, title, strong and mark are semantic tags.
• H1-H6, Meta, p, img, div and a tag are non-semantic tag.
Html Tags and meaning:
a - Defines a hyperlink. article - Defines an article. b - Defines bold text. br - Defines a single line break. button - Defines a clickable button. del - Defines text that has been deleted from a document. div - Defines a section in a document. footer - Defines a footer for a document or section. form - Defines an HTML form for user input. h1 to h6 - Defines HTML headings. header - Defines a header for a document or section. img - Defines an image. input - Defines an input control. li - Defines a list item. link - Defines the relationship between a document and an external resource (most used to link to style sheets). main - Specifies the main content of a document. nav - Defines navigation links. p - Defines a paragraph. script - Defines a client-side script. section - Defines a section in a document. span - Defines a section in a document. style - Defines style information for a document. table - Defines a table. title - Defines a title for the document. ul - Defines an unordered list. video - Defines embedded video content.