1 / 15

HTML Tags

HTML is an acronym which stands for Hyper Text Markup Language.

tanvibhatt
Télécharger la présentation

HTML Tags

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML {Hyper Text Markup Language} HTML BASIC TAGE </> Javatpoint.com

  2. HTML INTRODUCTION HTML is the standard markup language for creating web pages . Javatpoint.com HTML Stand for Hyper Text Markup Language. In HTML language hypertext is a way for linking one webpage to another markup is a computer language which provides layout formating convention to HTML text document. HTML is used to Create webpages . HTML is widely used language on the web. We can create static website by HTML only.

  3. HTML HEADING TAg Delimits the page head H1 is the largest heading tag and h6 is the smallest one. Javatpoint.com Output Example Heading no. 1 Heading no. 1 Heading no. 1 Heading no. 1 Heading no. 1 Heading no. 1 <h1>Heading no. 1</h1>   <h2>Heading no. 2</h2>   <h3>Heading no. 3</h3>   <h4>Heading no. 4</h4>   <h5>Heading no. 5</h5>   <h6>Heading no. 6</h6>  

  4. HTML Head TAG The HTML <head> element is used as a container for metadata (data about data). Javatpoint.com Example:- <html> <head> <title> HTML HEAD </title> </head> <body> <p> HTML Stand for Hyper Text Markup Language. </p> <p>HTML is used to Create webpages </p> </body> HTML is used to Create webpages </html> HTML Stand for Hyper Text Markup Language. HTML is used to Create webpages. Output:-

  5. TITLE TAG HTML title tag is used to provide a title name for your webpage. Example :- <html> <head> <title>name for your webpage</title> </head> <body> <P>HTML title tag is used to provide a title name for your webpage.</p> </body> </html> Javatpoint.com title Output :- your webpages HTML title tag is used to provide a title name for your webpage.

  6. BODY TAG The HTML <body> tag is used for Delimits the page’s body Example:- Javatpoint.com <html> <head> <title> html body tag </title> </head> <body> <p>Delimits the page’s body</p> </body> </html> Output:- Delimits the page’s body

  7. Paragraph Tag HTML paragraph or HTML p tag is used to define a paragraph in a webpage. Javatpoint.com Example :- <html> <body> <p>Define a paragraph in a webpage</p> <p>Define a paragraph in a webpage</p> <p>Define a paragraph in a webpage</p> </body> </html> Output :- Define a paragraph in a webpage Define a paragraph in a webpage Define a paragraph in a webpage

  8. HTML br TAG HTML <br> tag or element is used to break line in a paragraph. Example :- Javatpoint.com <html> <body> <p> HTML <br> tag or<br> element is used to <br>break line in a paragraph </p> </body> </html> Output :- HTML tag orelement is used to break line in a paragraph

  9. HTML hr TAG HTML <hr> tag is used to specify a paragraph-level thematic break in HTML document. It draw a horizontal line between them . Example :- <html> <body> <p> It draw a horizontal line between them </P> <hr/> <h3> html hr tag </h3> <p> It draw a horizontal line between them </p> </body> </html> Javatpoint.com Output:- It draw a horizontal line between them html hr tag It draw a horizontal line between them

  10. HTML bold (b) tag HTML<b> tag is used to display the written text in bold format . Javatpoint.com Example :- <html> <body> <p><b>HTML tag</b> is used to display the<b> written text </b>in bold format .</p> </body> </html> Output:- HTML tag is used to display the writtentext in bold format .

  11. HTML Style TAG HTML Style is used to change or add the style on existing HTML elements. There si a default Style for every HTML element e.g background color is white,text color is black etc. Javatpoint.com Example:- <html> <body> <h2 style="color:yellow"> HTML Style </h2> <h2 style="color:red">HTML Style tag</h2> </body> </html> Output:- HTML Style HTML Style tag

  12. HTML Table tag HTML table tag is used to display data in tabular form (row * column). There can be many columns in a row. Example:- Output:- Javatpoint.com <html> <body> <table border="1"> <tr> <th>HTML</th> <th>TAGS</th> </tr> <tr> <td>Hyper text markup language</td> <td>TABLE TAGS</td> </tr> <tr> <td>Hyper text markup language</td> <td>TABLE BORDER TAGS</td> </tr> </table> </body> </html> HTML TAGS Hyper text markup languaee TABLE TAGS Hyper text markup languaee TABLE BORDER TAGS

  13. HTML Anchor Tag The HTML anchor tag defines a hyperlink that links one page to another page. Example:- Javatpoint.com <html> <body> <a href="javatpoint">HTML Anchor</a> </body> </html> Output:- HTML anchor

  14. Marquee HTML Tag The Marquee HTML tag is a non-standard HTML element which is used to scroll a image or text horizontally or vertically. Example:- Javatpoint.com <html> <body> <marquee>Marquee HTML tag</Marquee> </html> </body> Output:- Marquee HTML tag

  15. HTML Image TAG Example:- <html> <body> <h2>HTML Image</h2> <imgsrc= "C:\Users\window\Desktop\1200px-HTML5_logo_and_wordmark.svg.png" alt="HTML Image"/> </body> </html> Javatpoint.com OutPut:-

More Related