Introduction to HTML ๐Ÿ“–

930 x 180 AD PLACEMENT

HTML, or Hyper Text Markup Language, is the fundamental building block of the World Wide Web. In the early days of the internet, HTML files served as the backbone of web content, stored on centralized servers and accessed by browsers to display information.

Despite its importance, HTML is not a programming language; instead, it is a markup language structured using tags. When creating a basic HTML file, it is conventionally saved with the .html file extension.

In essence, an HTML file contains textual content, such as paragraphs or titles, organized with markup that instructs the browser on how to present the content to the user.

Simple example

<p>A paragraph of text</p>

<ul>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ul>

This HTML snippet says that A paragraph of text is a paragraph. And then we have a list of 3 items.

930 x 180 AD PLACEMENT

p stands for paragraphul stands for unordered list, and li stands for list item.

[affiliate_buttons]

For each of them, we have an opening tag (like <p>), the content, and a closing tag (like </p>).

So <opening tag> โ€ฆcontent โ€ฆ </closing tag>.

Definition

Now I want to tell you something about HTML you should know.

930 x 180 AD PLACEMENT

HTML is not presentational. Itโ€™s not concerned with how things look.

Instead, itโ€™s concerned with what things mean.

You donโ€™t tell โ€œmake this paragraph redโ€ in HTML.

Thatโ€™s a presentational aspect.

930 x 180 AD PLACEMENT

Conclusion

HTML is just concerned with content.

It just adds some predefined styles here and there, like for example with the list. But thatโ€™s it. Thereโ€™s no customization you can do on how it looks, in HTML.

This will be the job of CSS, but thatโ€™s a story for another lesson.

930 x 180 AD PLACEMENT

Leave a Reply

Your email address will not be published. Required fields are marked *

You might also like
930 x 180 AD PLACEMENT