How to learn HTML Coding for websites?
How to learn HTML Coding for websites?
To learn HTML Coding for websites, it is required that you go through the basic concept of learning HTML. But before that, you must know what is HTML Coding and how it works?
HTML consists of several tags to form a webpage. It has a start tag to start writing HTML coding and end tag to close the coding of any tag. And HTML tag is the basic element of this HyperText Markup Language.
An HTML element is an individual component of an HTML document or web page. HTML is composed of a tree of HTML nodes, such as text nodes. Each node can have HTML attributes specified. Nodes can also have content, including other nodes and text. Many HTML nodes represent semantics, or meaning. For example, the Wikipedia
To learn HTML, you must know about every tag's breakdown. Every tag has its breakdown, that can be different or the same of all the tags.
- Open Tag
- Close Tag
- Tag Content
- Attribute Name
- Attribute Value
HTML Versions
Since the early days of the web, there have been many versions of HTML:
Version
|
Year
|
---|---|
HTML | 1991 |
HTML 2.0 | 1995 |
HTML 3.2 | 1997 |
HTML 4.01 | 1999 |
XHTML | 2000 |
HTML5 | 2014 |
What is HTML?
HTML is the standard markup language for creating Web pages.
- HTML stands for Hyper Text Markup Language
- It describes the structure of Web pages using markup
- Its elements are the building blocks of HTML pages
- Its elements are represented by tags
- HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
Web browsers don't display the HTML tags but use them to render the content of the page.
Before you learn HTML coding, you must learn about the structure of HTML coding by using all the required tags of HTML to design a basic webpage.
HTML is basically a semi-structured language to design beautiful webpages. Have a look at the structure of HTML coding:-
When you have learned the procedure and syntax of writing HTML coding, it is time to write your first HTML coding to design a simple page.
For this, you can use Notepad++ software for better understanding the HTML coding syntax.
Here is an example of a simple HTML coding with the proper syntax:-
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
After that you need to remember all the HTML tags, this you can also learn online by visiting here. To learn HTML coding properly use the coding syntax as demonstrated above and practice all other HTML codes.
Now practice all the tags of HTML coding to master the basic concept of designing beautiful webpages.
Comments
Post a Comment