Welcome friends to Blogger Codemaster. This is our first post on this blog. So in this post, I would like to introduce you to HTML coding. I think most of you will have some or the other knowledge about HTML as it is the basic ingredient for creating a nice blog or website. If you don't know anything about it, no worries! You will get to know the basics in this post itself.
So let's get started with our today's topic - HTML.
WHAT IS HTML?
Hypertext Markup Language (HTML) is the basic programming language used for designing pages to be displayed in a web browser. Apart from creating webpages, HTML can also be used for designing and making functional webpages using its companion technologies like CSS and JS.
Basic Terms Related to HTML:
- Elements - Element is a basic building block for HTML pages, whether it is be a short one or a big one! It has the starting tag and the ending tag between which the content is placed. For example, if you want to write a paragraph you will need the <p> tag.
- Attributes - Now what are attributes? Element only contain tags (<>). Elements need some style, source and other properties to make them attractive and easy to understand. For example, if you require a link text which is when clicked redirects to other page, you will need the <a> tag (called the anchor tag). But <a> tags can only contain the linked text. To add the destination page we need the attribute 'href'. Therefore, finally our code becomes:
<a href="https://blogger-codemaster.blogspot.com">Go to Home</a>
Output:
Go to Home
Some Common Elements:
- <p> - Paragraph Tag (Used for Creating a Paragraph)
- <a> - Anchor Tag (Used for Creating Linked Text)
- <img> - Image Tag (Used for Putting a Image)
Some Common Attributes:
- style - Used for adding style like font, size etc to a specific element.
- href - Used for putting the URL of the destination page of a linked text.
- src - Used for putting the source URL for image, video, iframe and other related elements.
Here, we come to the end of our first post. We will discuss various other topics in our upcoming posts.
So goodbye😇 uptil then.
Follow our 👉blog and comment💬 below for any queries.