Hello Friends, Today will learn What is HTML and how to create a website. Whatever information you want to see today, you can search the internet very easily and you also know that whatever information you get on the internet is on a website. Do you know how websites are made, if not, keep reading this post because after reading this post you can also create your own website.
All the website is created by adding multiple webpages (interlinks or hyperlink). The texts, images, videos, animation, etc. are displayed on webpages. You can also speak digital, electronic or HTML documents to webpages. To create a website, you have to do a website designing course in which you are first taught HTML.
What is the HTML (HyperText Markup Language)?
HTML is a computer language that we use to create webpages. HTML was created by Tim Berners-Lee in 1990. When the Internet started, a complete website (collections of webpages) was created by HTML, but now there are so many computer language maps that you can use to create a great website, blog or ERP system.
The use of HTML in today’s website is greatly reduced. HTML is used only to structure the website and we use CSS to give its style. In this way you can understand that the structure of the bones from the HTML is created and then the look of skin on it with CSS. So you have to learn more about HTML than just some basic tags and attributes.
What are HTML tags and attributes?
As you have now understood that the What is HTML and now we will talk about HTML tags and attributes. A webpage contains elements such as Headings, Paragraphs, Tables, Images, Links, Forms, Lists, etc. And through HTML tags and attributes we create all these elements on the webpage. By using tags and attributes we create the structure of the webpage and tell the browser how to show which elements. Browser does not show HTML tags but reading them only understands how to display which elements.
What is HTML Tag?
There are a lot of tags and attributes in the HTML but as I told you, the HTML is used to make just simple structure and to give that structure the style of CSS so you will learn all the tags and attributes of HTML simultaneously. There is no need for you to know just some basic common tags and their attributes, that is enough.
- The HTML tag is written between the angle brackets like <TagName>.
- Most of the tags are in pairs, which we call opening tag <TagName> and closing tag </ tagName>.
- There are just some tags in the HTML that do not have a closing tag.
HTML Page Structure
From the opening tag of HTML to the closing tag and the numerical content between them is called the HTML element.
Such as: – <tagname> content </ tagname>
- Most HTML tags have some attributes, which provide additional information to HTML elements.
- Attributes are always applied in the opening tag.
- HTML tags can have more attributes at once.
- In attributes, the name of the first attributes is written, which is also called property and then its value. Like <tagname name = “value”> content </ tagname>
Some Important HTML Tags
HTML tags – All the tags in the HTML come in the middle of the HTML tag, which means that the first html tag is open and the last tag in the last tag is close.
TITLE tag – This tag comes in the middle of the head tag, in it we give the title of our web page like Home Page, Contact page, About Us page etc. The Page title appears in the title bar of our page.
BODY tag – There are 2 parts of HTML page, first head tag and second body tag. Whatever elements you want to display on your web page are written between the body tag itself.
Heading tag – HTML contains heading tags from <h1> to <h6>, which we use to maintain heading structure in our web page. The text size in <h1> heading is greatest and the <h6> is the smallest in the heading.
Paragraph tag – As you know, after heading, we write our main content for which we use the <p> paragraph tag.
Formatting tag – Well, if we give HTML elements the formatting (style) CSS, but HTML also has some basic formatting tags. With the help of which you can do basic formatting of HTML elements. Like to <b> bold and <strong> tag text to darken. <I> To divert italic tag text. <U> to the bottom line of the underline tag text.
Anchor tag – As I told you there are a lot of webpages in a website and we have to link them all, we use <a> anchor tag for it. By using href attributes in <a> anchor tag, we tell that link to which webpage or location we want to link to.
Image tag – Use this tag to add images to our webpage. <Img> Using src attributes in the image tag, we tell that the image we are adding to our webpage is where it is saved.
Table tag – This tag we use to create a table in our webpage. To create a table, we use tags and attributes in the middle of <table> tag, <tr> table row, <th> table header, <td> table data, etc.
Lists tag – This tag is used to create <ol> Ordered List (1, a, A, i) and <ul> Un ordered List (●, ○, ■) in our webpage. <Li> The list item tag is used to show items in both of these lists.
Form tag – This tag is used to generate data input from users by creating forms in our webpage. In the middle of the <form> tag we use elements such as <input>, <select>, <textarea> and so on.
Comments tag – If you want to write a few things in your HTML code to remember, then we write them in <! – Your Text à comments tag Whatever your text comments tag says, your browser does not show it on the browser.
How to create a webpage from HTML and How to view them?
I hope that by reading this post here, we have understood that about What is HTML and some important HTML tags. Now let me tell you that where you have to do your html code to create a webpage. To HTML code, you can use notepad text editor in your computer or download notepad ++ text editor from the Internet.
If the command is fine on your HTML then I would suggest that you can also use the Dreamweaver software, this software will make your html code easier. Notepad or Dreamweaver, you have to use software for anyone, after you have html code, you have to save your file with .html or .htm file extension.
Whenever you save a file from an .html or .htm file extension, then you can view it on your browser by uploading to your local computer (PC) or web server. Browser will show you your HTML page by reading it.
HTML is the mostly in the 5th and 6th School board. Now you can predict how easy it will be to learn HTML. Learning basic in HTML takes a maximum of 1-2 hours. You just get the right tutorial and guideline. I have given you basic introduction of HTML and its tags above and I hope you have understood it well.
If you want to learn HTML in more detail then you can see the Hindi and English video tutorial of HTML on YouTube or you can learn HTML by visiting the W3Schools website. This is the best site to learn web programming. If you do not have to do anything to search the tutorial, just type it in HTML Tutorial and if you prefer to read in Hindi or English, then search for HTML Tutorial in Hindi or English and if you have any problem or misunderstanding in the tutorial, then you should ask me to the below comments.
Now you have better understanding of What is the HTML, How to use it and How to learn it. So now you can quickly learn HTML because I will tell you in my next post that What is CSS and How you can create a great website by using CSS.
Friends, I hope you have liked this post as “What is HTML & How to create website with HTML?” If you have any questions or suggestions related to this post, then comment below and share this post with your friends.