WHAT IS HTML?
HTML, which stand for Hyper text markup language is the predominate markup language used to design and develop web pages. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraph, list etc as well as for links, quotes, and other items. It allows images and objects to be embedded in a web page and can be used to create interactive forms. It is written in the form of HTML elements consisting of “tag” surrounded by angle brackets within the web page content. It can include or Processors like web browser; cascading style sheets (CSS) to define the appearance and layout of text and other materials.
BASIC STRUCTURE OF AN HTML:–
<HTML>
<HEAD>
<TITLE>Page Title</TITLE>
</HEAD>
<BODY>
<H1>My First Heading</H2>
<P>My first paragraph.</P>
</BODY>
</HTML>
TAGS IN HTML
HTML TAG: This is the first tag in every HTML document. This tag indicates that the content of the file is in the HTML language. The entire document is placed between the <HTML> and </HTML>starts and ends tags.
HEAD TAG: The <HEAD> element includes information about the HTML documents. Information given within the<HEAD> is not displayed as part of the web page content.
TITLE TAG: The <TITLE> tag is used to specify the title of the HTML page. <TITLE> tag is always placed inside the <head> tag and it does not accept any attribute.
BODY TAG: The <BODY> element forms the main body of the HTML document. We can use the <body> tag to specify the background color and margins of the text in an HTML page.
STYLE TAG: Style sheets are important components of HTML that make a web page dynamic.
FONT TAG: The FONT element uses the <FONT>…. </FONT> tags to enclose and format selected text.
LINE BREAK TAG: The<BR> tag breaks the line of text or graphics and simply jumps to the start of the next line. It does not affect the font or the spacing of our document.
PARAGRAPH TAG: The paragraph <P> tag tells the browsers that, the text in our document constitute a paragraph. The paragraph element is nested inside the <BODY> element. The paragraph tag uses <P>…….. </P> tags. The closing tag </P> is optional.
HEADING TAG: We can use the heading element to specify the selected text as a heading in an HTML document. We can specify up to six levels of headings. The heading element uses container tags ranging from <H1> to <H6>.
ANCHOR TAG: anchor tag is used to create a hyperlink by using <A>………</A> tag. The <A> tag is mainly used for creating links to other web pages or within the same web page. The text between <A> tag and </A> tags is known as hypertext and it is visible as an underline hyperlink text to the user.
HREF TAG: HREF is an attribute of the anchor element. The HREF attributes are used to specify the path and file name of the HTML page that we need to access by using a hyperlink.
HEIGHT AND WIDTH TAG: The WIDTH and HEIGHT attribute are used to specify the width and HEIGHT for image
IMAGE TAG: Image is essential to the design of a web page, as they give visual appeal and also communicate an idea or concept easily. Generally, GIF and JPEG format files are popularly used on the web.
————-