AYS TECH Center

Will explore hard things in a simple way, come and join us.


What is HTML5?

What is HTML?

HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
 (W3Schools)
 

What is HTML?

HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables. As the title suggests, this article will give you a basic understanding of HTML and its functions.

So what is HTML?

HTML is a markup language that defines the structure of your content. HTML consists of a series of elements, which you use to enclose, or wrap, different parts of the content to make it appear a certain way, or act a certain way. The enclosing tags can make a word or image hyperlink to somewhere else, can italicize words, can make the font bigger or smaller, and so on.

(MDN Web Docs)

 

What Is HTML? Hypertext Markup Language Basics Explained

HTML, or HyperText Markup Language, allows web users can create and structure sections, paragraphs, and links using elements, tags, and attributes. However, it’s worth nothing that HTML is not considered a programming language as it can’t create dynamic functionality.

 

HTML has a lot of use cases, namely:

  • Web development. Developers use HTML code to design how a browser displays web page elements, such as text, hyperlinks, and media files. 
  • Internet navigation. Users can easily navigate and insert links between related pages and websites as HTML is heavily used to embed hyperlinks. 
  • Web documentation. HTML makes it possible to organize and format documents, similarly to Microsoft Word.
    It’s also worth noting that HTML is now considered an official web standard. The World Wide Web Consortium (W3C) maintains and develops HTML specifications, along with providing regular updates. 
     

The average website includes several different HTML pages. For instance, a home page, an about page, and a contact page would all have separate HTML files.

HTML documents are files that end with a .html or .htm extension. A web browser reads the HTML file and renders its content so that internet users can view it.

All HTML pages have a series of HTML elements, consisting of a set of tags and attributes. HTML elements are the building blocks of a web page. A tag tells the web browser where an element begins and ends, whereas an attribute describes the characteristics of an element. 

The three main parts of an element are: 

Opening tag – used to a state where an element starts to take effect. The tag is wrapped with opening and closing angle brackets. For example, use the start tag <p> to create a paragraph. 
Content – this is the output that other users see. 
Closing tag – the same as the opening tag, but with a forward slash before the element name. For example, </p> to end a paragraph. 
(Hostinger)

 

Basic Structure of HTML5:
<!DOCTYPE html>
<html>
<head>
    <title>Webpage</title>
</head>
<body>
    <h1> My First Webpage! </h1>
</body>
</html>