HTML Tutorial For Beginners: Create Your First Website Today

HTML stands for Hypertext Markup Language. HTML was originally based on the Standard Generalized Markup Language (SGML), a much larger, more complicated document-processing system. To write HTML pages, you won’t need to know much about SGML. Whether you want to create a basic webpage or a sophisticated website, you must first understand HTML.

Who Invented HTML?

Physicist Tim Berners-Lee invented HTML in 1991. He created it to organize and distribute documents online.

boAt Airdopes 141 Power  Performance Pure Sound!

HTML Boilerplate (Basic Structure)

All HTML documents follow to a typical layout called a boilerplate:

Explanation

  • <!DOCTYPE html> : It specifies this is an HTML5 document.
  • <html lang="en"> : This is the root element of an HTML page, with the language specified.
  • <head> : It contains metadata like CSS styles, titles etc.
  • <meta charset="UTF-8"> : It ensures the correct display of the characters you use on your website.
  • <title> : It defines the title of the page.
  • <body> : Contains the content of the webpage.

Sorry, I mistakenly wrote “c” at the end of the closing </html> tag in the above video. Please ignore this.

HTML Headings

There are six heading tags :

html-heading-element

Explanation:

  • <h1> is the most important heading.
  • <h6> is the least important heading.
  • Headings are used by search engines to understand page layout.

Caution

Don’t use headings to display text in boldface type or to make certain parts of your page stand out more. Even though the result may appear as intend, it will not properly represent the structure of your page in the markup. This comes into play for search engines, accessibility, and some browsers.

Paragraph and Line Break

Paragraphs are created using the <p> tag and <br> tag for line breaks.

Example:

paragraph-code-snap
output-of-paragraph-tag-new

How to Comment in HTML

You can put comments into HTML pages to describe the page itself or to provide some kind of indication of the status of the page. Some source code control programs store the page status in comments, for example. Text in comments is ignored when the HTML file is parsed; comments never show up onscreen- that’s why they’re comments. Comments look like the following:

<!-- This is a comment -->

How to Add an Image in HTML

After you have an image, you can include it on your web page. Inline images are placed in HTML documents using the <img> tag. This tag, like the <hr> and <br> tags, has no closing tag in HTML.

<img src="image.jpg" alt="A sample image" width="500" height="300">

Explanation

  • src : Indicates the location of the image file.
  • alt : Provides alternative text for accessibility.
  • width & height : Specifies the measurements of the image.

Creating Links

<a> Developers use this tag to create a hyperlink. Example:

<a href="https://www.bitramind.com">Visit My Blogging Website BitraMind Everyday👨🏾‍💻</a>

Explanation

When you create links using <a>, the link has two parts: the href attribute in the opening <a> tag, and the text between the opening and closing tags that serves as a hot spot for the link. This link tells the browser to load the website “bitramind.com“.

Horizontal Line

The <hr> tag creates a horizontal line to divide content. Example:

<p>First section</p>
<hr>
<p>Second section</p>

How to Create a Table in HTML

All the components of a table are placed within a <table>…..</table> element. Here’s the simple code example that produces the table.

<table border="1">
    <tr>
        <th>Name</th>
        <th>Age</th>
    </tr>
    <tr>
        <td>Arpan</td>
        <td>23</td>
    </tr>
    <tr>
        <td>Tony</td>
        <td>60</td>
    </tr>
    <tr>
        <td>Riya</td>
        <td>29</td>
    </tr>
</table>
html table

This is the output of the above code. Notice that the table starts with a <table> tag and its attributes and ends with a </table> tag.

Explanation

  • <table> : Creates a table.
  • <tr> : Defines a row.
  • <th> : Defines a table header.
  • <td> : Defines a table cell.

Creating Lists

There exist two kinds of lists: ordered and unordered.

Ordered List (<ol>)

<ol>
    <li>HTML</li>
    <li>CSS</li>
    <li>JavaScript</li>
</ol>
ordered-list

Ordered lists are surrounded by the <ol>….</ol> tags (ol stands for ordered list), and each item within the list is included in the <li>….</li> (list item) tag. When the browser displays an ordered list, it numbers and indents each of the elements sequentially. You don’t have to number the items yourself, and if you add or delete items, the browser automatically renumbers them when the page loads next time.

Ordered lists are good for steps to follow or instructions to the readers or when you want to rank the items in a list.

Unordered List (<ul>)

<ul>
    <li>Apple</li>
    <li>Banana</li>
    <li>Cherry</li>
</ul>
unordered list

People often refer to unordered lists as bulleted lists. Each element in the list has the same marker instead of a number. The markup to create an unordered list looks just like an ordered list except that the list is created by using <ul>….</ul> tags rather than ol. The elements of the list are placed within <li> tags, just as with ordered lists.

Browsers have standardized on using a solid bullet to mark each item in an unordered list by default.

9 Brand Shaastras: The Power of Branding!

Conclusion

This guide explained the fundamentals of HTML, featuring its structure, headings, images, tables, lists, comments, and hyperlinks. By learning these components, you can begin creating your own web pages. Continue to practice and experiment with HTML to enhance your abilities!

Don’t forget to comment on how you liked this HTML tutorial.

5,364 thoughts on “HTML Tutorial For Beginners: Create Your First Website Today”

  1. Scholars often discuss the feminism inherent in Austen’s work. Elizabeth Bennet is an agent of her own destiny. To explore these themes, a close reading is required. A digital copy allows for easy referencing of key passages. If you are searching for a Pride and Prejudice PDF, you may be interested in gender studies. Our platform supports this academic perspective. Discover how Austen challenged the status quo of her time.

  2. When you begin reading the sprawling epic that is East of Eden, you are immediately transported to the dust and beauty of the Salinas Valley in Northern California. It is a massive novel, often daunting to carry around, which is why many modern readers look for a portable solution like a PDF version for their tablets or e-readers. This format ensures that you can keep up with the generational drama of the Trasks wherever you go. Our website is dedicated to dissecting the intricate plot and the heavy symbolism found in the book, serving as a perfect companion guide for those reading the digital copy on their daily commute.

  3. Understanding the historical context of the Victorian era enhances the reading experience of this novel. When you download a Wuthering Heights PDF, you are engaging with a text that defied the conventions of its time. Critics were originally shocked by the raw emotion and perceived savagery of the book. Today, it is celebrated for those exact qualities. A digital copy allows you to easily reference footnotes or look up archaic terms, making the rich language more accessible to contemporary readers. Dive into the history and the passion that makes this book a must-read.

  4. Austen’s dialogue is often compared to a play. It is snappy, revealing, and dramatic. If you enjoy theater, you will enjoy this novel. Reading it digitally allows you to act out the scenes. A Pride and Prejudice PDF is a script for the imagination. Our website focuses on the theatrical quality of the book. We bring the drama of the drawing room to your device. Experience the scenes that sparkle with wit and tension.

  5. Продажа аккаунтов — удобный формат для бизнеса и онлайн-задач

    Аккаунты для бизнеса купить сегодня — это практичное решение для тех, кто работает с SMM. Современный магазин аккаунтов позволяет быстро подобрать цифровые ресурсы под конкретные задачи.

    Платформа XMart — это маркетплейс цифровых аккаунтов, где можно купить аккаунты платформ для продвижения и тестирования. Такой формат особенно востребован, когда важны скорость.

    Цифровые аккаунты купить — ресурс масштабирования

    Цифровые аккаунты используются в самых разных сценариях: от регистраций до арбитражных воронок.

    Когда требуется купить аккаунты оптом, маркетплейс даёт гарантии формата. Это позволяет ускорить запуск проектов.

    Email аккаунты купить

    Отдельная категория — email аккаунты купить. Они применяются для работы с платформами.

    Использование готовых решений позволяет работать без ограничений, особенно когда речь идёт о запуске новых направлений. В каталоге XMart такие позиции доступны в формате единичных покупок.

    Аккаунты для маркетинга купить

    Для специалистов по продвижению особенно важны аккаунты для маркетинга купить. Эти аккаунты используются для A/B-тестирования.

    Маркетплейс аккаунтов позволяет работать с разными платформами, не теряя времени на рутину. Именно поэтому аккаунты для работы онлайн остаются одним из самых популярных запросов.

    Аккаунты для бизнеса

    аккаунты платформ — это часть digital-инфраструктуры. Они используются в онлайн-сервисах.

    Платформа XMart ориентирована на маркетологов, которым важны повторяемость. Благодаря этому маркетплейс аккаунтов становится частью регулярной операционной деятельности.

    Почему выбирают маркетплейс аккаунтов XMart

    XMart — это не просто магазин цифровых аккаунтов, а инструмент для роста.

    Преимущества:

    разные типы аккаунтов

    возможность купить аккаунты недорого

    аккаунты для мультиаккаунтинга

    быстрая выдача

    http://x.kongminghu.com/home.php?mod=space&uid=218100

    Маркетплейс цифровых аккаунтов — это удобно.
    Платформа XMart объединяет аккаунты сервисов в одном месте, предлагая онлайн магазин аккаунтов.

    Если вам нужны аккаунты для рекламы, XMart становится надёжной точкой входа.

  6. For those who love audiobooks, having the text as a companion is often helpful to check spelling of names or re-read complex passages. The prose is dense and sometimes requires a second look. An East of Eden PDF is the perfect companion to an audio narration. Our website provides a glossary of names and places, ensuring you can follow along accurately. We support multi-modal reading, ensuring you get the full benefit of Steinbeck’s complex narrative.

  7. The novel’s structure, which involves a story within a story, creates a fascinating distance between the reader and the events. To dissect this narrative frame, a Wuthering Heights PDF is highly recommended. You can analyze how Lockwood’s perspective colors the reader’s view of Heathcliff, and how Nelly Dean’s bias shapes the history of the families. Digital tools make it easier to track these shifts in perspective. Understanding who is telling the story and why is key to unlocking the secrets of the text, and an electronic version aids significantly in this critical analysis.

  8. The enduring legacy of Jane Austen is built on this novel. It is the cornerstone of her reputation. To understand why she is a literary giant, this is the book to read. A Pride and Prejudice PDF connects you with literary history. Our site is a tribute to her genius. We ensure that her most famous work remains available to all. Witness the talent that defined an era.

  9. There is a spiritual quality to the book that transcends specific religion. It is about the soul. It asks what it means to be a human being. Spiritual seekers often find great comfort in its pages. An East of Eden PDF allows you to keep this spiritual guide with you. Our website explores the spiritual dimensions of the text, discussing how it addresses the universal search for meaning. We provide a space for the soul-searching that the book inevitably triggers.

  10. The sheer volume of critical interpretation surrounding this book can be overwhelming. A Wuthering Heights PDF allows you to focus on the primary source. Forget what the critics say for a moment and just listen to the voices of the characters. The digital format encourages an intimate connection with the story. You can make up your own mind about the moral questions the book poses. It is a liberating way to read a classic, free from the footnotes and introductions that sometimes clutter physical academic editions.

Leave a Comment

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

Scroll to Top