HTML Tags
The HTML tags are instructions that telling to the browser how to parse, format and display the content in the document, while the instructions themselves are not displayed in the browser.
The HTML tags are instructions that telling to the browser how to parse, format and display the content in the document, while the instructions themselves are not displayed in the browser.
The tags in the HTML document are arranged in a hierarchical structure just like a tree. A standard HTML document contains a head and body. The basic HTML document structure looks like this:
<!-- HTML Page -->
<html>
<!-- Declear the header -->
<head>
<title>Title</title>
</head>
<!-- Declear the body -->
<body>
Content
</body>
</html>
Common HTML Tags
Here are the basic and most common HTML tags you can use with the HTMEditor.
Hyperlink
The HTML
<a>
element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address. Content within each should indicate the link's destination.
Example:
<!-- Example of Hyperlink tag -->
<a href="Destination URL">Link Text</a>
Img
The
<img>
element represents an image.
Example:
<!-- Example of Img tag -->
<img src="the url address of the image">
p
The HTML
<p>
element represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines and/or first-line indentation, but HTML paragraphs can be any structural grouping of related content, such as images or form fields.
Example:
<!-- Example of p tag -->
<p>Content</p>
Table
The HTML
<table>
element represents tabular data — that is, information presented in a two-dimensional table composed of rows and columns of cells containing data.
Example:
<!-- Example of table tag -->
<table border="1" style="border-collapse: collapse; width: 100%;">
<tbody>
<tr>
<td style="width: 50%;">1</td>
<td style="width: 50%;">2</td>
</tr>
<tr>
<td style="width: 50%;">3</td>
<td style="width: 50%;">4</td>
</tr>
</tbody>
</table>
Table
The HTML
<form>
element represents a document section containing interactive controls for submitting information.
Example:
<!-- Example of form tag -->
<form action="the destination handler file" method="get">
<label for="name"&rt;Input Name: </label>
<input type="text" name="name" id="name" required>
</form>
hr
The HTML
<hr>
element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.
Example:
<!-- Example of hr tag -->
<hr>
br
The HTML
<br>
element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.
Example:
<!-- Example of br tag -->
<br>
Related Links