Why Html Is A Must For Every Website
Table of contents
No headings in the article.
Firstly, we need to understand what is meant by HTML before diving deeper into why it is a must for every website to have html. HTML is an acronym for Hyper Text Markup Language. However as a beginner you might come across people arguing or trying to confuse you with language at the end, just to clear misconception, HTML is not a programming language, it is a markup language as it name implies. WHY HTML IS A MUST FOR EVERY WEBSITE HTML ensures the proper text formatting of a website, without it a browser won't be able to display text as element or load images . Furthermore, HTML is the fundamental of all website in which old websites like craiglist is built upon, Nairaland which is a popular website in Nigeria. HTML SEMANTIC Semantic HTML or semantic markup is HTML that introduces meaning to the web page rather than just presentation. For example, a
tag indicates that the enclosed text is a paragraph. This is both semantic and presentational because people know what paragraphs are, and browsers know how to display them.
when building a webpage, have a proper HTML semantic is a good practice and it helps in many ways such as search engine optimization(SEO), help increase accessibility most especially for screen readers. Proper semantic involves using the right HTML tag for the right input like the H1 tag should represent header and P tag should represent paragraph not images. Container Tags
- Header Tag
- Paragraph tag
- Button Tag Used to wrap text that represent button
- Form Tag Used to wrap form to be submitted in web page 5.Title Tag Use to wrap text that represent title of web page 6.List Tag Used to wrap Item in list format
- ordered List
- Italic Tag Used to italic text 10.Bold Tag used to make text bold 11.Div tag This tag is used to create a separate container on the web page that also can use other tags inside it.
- : The nav tag is used to build the navigation bar on the website.
- : This tag is used to provide links for different pages on the web page.
- : It is the root element of an HTML document that indicates the start & end of the webpage, along with rendering the content which is inside of it.
- : Iframe tag is used to display nested web pages. It represents a web page inside another web page.
- : The script tag is mainly used to link an external JavaScript file using src attribute or you can write JavaScript code inside this tag directly in HTML document.
- : It is the root element of an HTML document that indicates the start & end of the webpage, along with rendering the content which is inside of it.
18.
- the data term tag and
- the data description tag to add items inside it 19.
used to wrap table tags 20.
used to wrap table data
Empty Tag
- : This tag is used to take input from users. It is mainly used inside a form tag.
- : It is an image tag that is used to insert an image on the web page.
: The break tag is used to break the line and skip to the next line.- : The link tag is used to link the external CSS file to the current HTML document.
5.
: It is used to insert a horizontal line on the web page whenever needed. 6.: It stores the meta-information about the web page that is information about data that we don’t want to show to users on the web page. 7.: The source tag is used to insert an external media file to the web page that can be an Audio or Video file. 8.: The tag in HTML is used to set the column properties for each column within a tag - : The tag in HTML is used for embedding external applications which are generally multimedia content like audio or video into an HTML document.
- : The tag in HTML is used to define a parameter for plug-ins which is associated with element. It does not contain the end tag.
- : The tag in HTML stands for word break opportunity and is used to define the position within the text which is treated as a line break by the browser.
- <!DOCTYPE> Defines the document type
- Defines a comment
- Defines sound content 15. Defines a video or movie 16. Defines an embedded object
- : This tag is used to take input from users. It is mainly used inside a form tag.
- : It is an image tag that is used to insert an image on the web page.
: The break tag is used to break the line and skip to the next line.- : The link tag is used to link the external CSS file to the current HTML document.
References w3schools ; Geekforgeek