So, What Exactly is HTML?
Hello, and welcome! If you’re new here, I’d like to welcome you to my blog. This is gonna be the first post in a series called “What is HTML?”.
If you’ve ever dabbled in web development, you’ve probably heard of HTML. If you haven’t, you may be asking yourself “What is HTML?” Well, in short, HTML is used to add content to a webpage. It lets you do awesome stuff such as add text, images, and buttons to your webpage. But, many people might not know it goes much deeper than that.
Birth of a Language
In the beginning, there was silence. No Youtube, Google, or the internet. Just silence. Until one man named Tim Berners-Lee decided this needed to change. While working at CERN, he wanted a way to share his documents with his colleagues. So, he wrote the software for and invented HTML.
So, What Exactly is HTML?
Well, contrary to popular belief, HTML isn’t technically a programming language. It’s instead classified as a markup language. This means that the language uses tags to define different elements in a document. For example, HTML uses the <p> tag to define a paragraph of text. Each tag also comes with a corresponding closing tag, which you can make by adding a slash before the first letter of the tag like so: </p>
Every element that can be specified using HTML comes with its own tag. For example, images are displayed using the tags, buttons are shown using the tags, etc. For a full list of tags, you can go here. If you want to add content to the element, you can normally do so by putting what you want in between the tags. For example, to make a paragraph with the text “I’m so happy today!”, you’ll need to write this: <p>I’m so happy today!</p>. Other elements work a bit differently. For example, to specify the image you want to show in HTML, you’re gonna need to tell the browser where the image is located. To do this, you need to use an attribute. Attributes are just little bits of text you put between tags in order to tell the browser other things besides the element itself. For example, in order to all an image URL, you need to use the src attribute. You can do it like this: <img src=”URL”></img>, where URL is the URL you wanna use.
I think this will be a regular series on my blog. I’m also gonna change my posting schedule a bit, from one post every day to one post every 2 days, because that’s more manageable for me. I’ll still be posting regularly, so always be sure to check back to find new posts!
If I taught you something new, be sure to share this post on any social media you might have. If you have any questions, comments, or concerns, put them in the comments section, or email them to me.
Thanks for sticking around, and I can’t wait to see you here again!