Ask Programiz - Human Support for Coding Beginners
Explore questions from fellow beginners answered by our human experts. Have some doubts about coding fundamentals? Enroll in our course and get personalized help right within your lessons.

Hi there! It sounds like you're encountering a common situation when HTML behaves in unexpected ways.
In HTML, every opening tag should ideally have a closing tag to ensure that browsers render the content correctly, just like this:
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
However, when you omit a closing tag like you've done here:
<h1>This is a heading
<p>This is a paragraph.</p>
browsers step in and try to "fix" the structure automatically. They'll assume where the ending tags should be, but this isn't always reliable and can result in unexpected outcomes, especially as your projects become more complex.
This automatic behavior might work similarly in your text editor like Visual Studio Code, but it’s not best practice. Therefore, always include closing tags to maintain clear and consistent HTML structure:
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
Remember, it'll help prevent your webpage from displaying incorrectly or "breaking" unexpected parts of your layout.
Hope this helps clear things up! If any more questions come up as you go further, feel free to ask. I'm here to help!

Hey Bisman! 😊
That’s such a thoughtful question — and you're not alone in wondering this!
HTML is called a markup language because its main job is to structure and display content on a webpage. It tells the browser things like:
- "This is a heading"
- "This is a paragraph"
- "This is a link or an image"
But HTML doesn't have logic — it can't make decisions, repeat actions, or respond to conditions like a programming language can.
For example, in a programming language (like Python or JavaScript), you can say:
if score > 50:
print("You passed!")
HTML can’t do that kind of logic — it just marks up content so the browser knows how to show it.
So in short: HTML structures content, but it doesn’t “think” or “decide” — that’s why it’s not considered a programming language. 😊
You're asking awesome questions — keep going! You're learning fast! 🚀💡

So when you see something like <input />, that little / just means the tag is self-closing — it doesn’t need an end tag like </input>.
But guess what? Starting with HTML5, you don’t even need the / anymore. You can just write:
<input><br>
<br><br>
<img src="photo.jpg">
And it works the same! Super simple. 👍

HTML tags are like labels that tell the browser what each part of a webpage is.
For example, if you want to show a heading, you use a heading tag like this:
<h1>Apples</h1>The <h1> tag tells the browser that the text Apple is a heading and it should be big and bold.
Tags usually come in pairs: an opening tag like <h1> and a closing tag like </h1>. Whatever you put between them is the content.
Tags not visible on the page—just instructions for how to show things. Only the content is visible.
As you continue with the course, you'll learn plenty of tags, each with their own purpose.

Good question!
In HTML, attributes modify the behavior, appearance, or function of HTML elements. You’ll see them in various tags like <a>, <input>, <form>, and many others.
For example, in the code <img src="tiger.png">, src is an attribute of the <img> tag. It tells the browser where to find the image file named tiger.png.
As you move forward, our lessons will cover these in more detail. Click the 'Next' button to continue.
Hope this helps! Feel free to ask if you have more questions.

A programming language is just a way for us to give instructions to a computer. It's like learning a new language but instead of talking to people, you're telling the computer what you want it to do.
Different programming languages (like Python, Java, C++) have different styles, and they all help you build things like apps, games, websites, and more.
You're doing great asking these questions, keep them coming!

Hi there! Linking pages in HTML is a fundamental skill that helps you create navigation between different web pages.
To link pages in HTML, you'll use the <a> tag (known as the anchor tag). Here is how you can do it:
<a href="https://programiz.pro">Programiz PRO</a>You can also link to another web page within the same project:
<a href="about.html">About Us</a>In this case, about.html is a page that's located in the same directory as the current document.
In the upcoming chapters, we will cover more of these in detail.
Feel free to ask if you have more questions or need further clarification.

In HTML, the slash (/) in a tag indicates that it is the closing tag for an element. This is required because HTML uses pairs of tags to define where an element starts and ends.
For example,
<p>This is a paragraph.</p>Here, <p> marks the start of the paragraph, and </p> marks the end. The content in between these tags—This is a paragraph.—is defined as a paragraph.
Without the closing </p> tag, HTML wouldn't know where the paragraph ends, which could cause formatting issues or incorrect rendering.
Hope this clears things up. Let me know if you have more questions.

HTML is called a markup language because it’s mainly used to structure and present content on a webpage, not to perform logic or calculations like a programming language does.
For example, HTML lets you define elements like headings, paragraphs, images, and links, but it can’t make decisions, loop, or perform calculations—things you would typically expect from a programming language like JavaScript, Python, or C++.
In HTML, you might write:
<h1>Welcome to my website!</h1>
<p>This is a simple paragraph.</p>
<a href="https://example.com">Visit Example</a>This tells the browser what to display and how to organize it, but there’s no logic like "if this happens, then do that".
In contrast, in a programming language like JavaScript, you could write:
let age = 18;
if (age >= 18) {
console.log("You are an adult.");
}Here, the code makes a decision based on the value of age, which HTML alone can't do.

In HTML, metadata refers to information about the webpage that isn't visible to users directly, but it provides important details to the browser and search engines.
Some common types of metadata include things like the page's title, description, keywords, author, and character encoding.
Metadata is usually placed inside the <head> section of the HTML document, like this:
<head>
<meta charset="UTF-8">
<meta name="author" content="John Doe">
<meta name="description" content="Learn the basics of HTML.">
<meta name="keywords" content="HTML, basics, tutorial">
<title>My Webpage</title>
</head>Since you're just getting started, you don't need to focus on metadata much. As you continue your web development journey, you'll gradually learn more about it and how it can help with SEO and other aspects of web development.
Hope this clears things up. Let me know if you have any confusion.
Our Experts
Sanjeev PanditPrincipal Engineer
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Anuj ShresthaTech Lead
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer