
244 views
HTML Tags
HTML tags are used to create web pages and define the content and layout of a web page. HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags. Here are some common HTML tags:
<html>
– The opening tag that defines the start of an HTML document<head>
– Contains meta information about the HTML document, such as the and links stylesheets. – Defines the title of the HTML document<body>
– Contains the visible content of the HTML document<h1>
to<h6>
– Heading tags that define the headings and subheadings of a web page<p>
– Paragraph tag that defines a paragraph of text<a>
– Anchor tag that defines a hyperlink to another web page or resource<img>
– Image tag that defines an image to be displayed on the web page<ul>
– Unordered list tag that defines an unordered list of items<ol>
– Ordered list tag that defines an ordered list of items<li>
– List item tag that defines each item in a list<table>
– Table tag that defines a table to be displayed on the web page<tr>
– Table row tag that defines a row in a table<td>
– Table data tag that defines a cell in a table<form>
– Form tag that defines a form to be filled out by the user<input>
– Input tag that defines an input field within a form<button>
– Button tag that defines a clickable button on a web page<div>
– Division tag that defines a section of a web page<span>
– Span tag that defines a small section of text within larger of text<style>
– Style tag that contains CSS (Cascading Style Sheets) code to define the visual style and layout of a web page.
These are just a few of the many HTML tags available for web development.