In this post i'll show you, which tags are the most used by some web developers in a web page... ๐ ๐ ๐
HTML Tags
Below we can see a list of the most important and currently used tags when a web page is developed....
Doctype tag <!DOCTYPE html>
The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the html tag.
The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.
In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language, so that the browsers render the content correctly.
HTML5 is not based on SGML, and therefore does not require a reference to a DTD.
Html tag
This tag is very important on a web page, inside this you must put all your rest of tags like or
etc...
Head tag
The head element is a container for all the head elements, can include a title for the document, scripts, styles, meta information, and more.
The following elements can go inside the element:
<title> (this element is required in an HTML document),<style>,<base>,<link>,<meta>,<script>,<noscript>
Body tag
The tag defines the document's body.
The element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
Several important tags
Below you can see a list of several tags, the most important and what is its syntax.... ๐ฉโ๐ป ๐จโ๐ป ๐ฉโ๐ป
Image: <img src="" alt="" title="">
List 1: <ul> <li></li> <li></li> <li></li> </ul>
List 2: <ol> <li></li> <li></li> <li></li> </ol>
Link: <a href="http://www.yoururl.com">Link</a>
Box: <div></div>This tag is very used, like a box where you can put some content or image
Table: <table> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </table>
Bold: <b></b>
Span: <span></span>
Break line <br>
That is all for this post, I hope you continue to research on html tags, we will be using them in our webpage project but later .... see you in the next post with the attributes of these html tags. Regards!!! ๐ค ๐ค