HyperText Markup Language, is a phrase that many newcomers find to be incomprehensible. Examining the definition of each word is the most effective technique to explain HTML.
Text with links to other texts is referred to as hypertext. You use hypertext each time you click on a bolded or italicized link that directs you to another page. A "web" of pages begins to grow when more and more pages employ hypertext links to connect to one another. The World Wide Web is derived from this.
You can create a really unique website that you can maintain and update yourself with some basic HTML and CSS skills. I started my journey in Prilient Technology where I got to know about it.
Tim Berners-Lee, created the initial version of that in 1990, and it was made publicly accessible in 1991.
HTML5, which has been in use since 2014, is the most recent version to be standardized.
That provides a base for any website, as we've already discussed. The HTML code holds all of the text, links, tables, links to photos, and other essential elements of the site's structure and content.
In essence, this code resembles plain text. Angle bracket usage is the most recognisable aspect of this code. The markup code that instructs the browser how to display the document's data is enclosed in these angle brackets.
Here is an illustration of some basic HTML code:
You don't need to purchase any specialized software to get started learning how to create that code. The Notepad tool, which is pre-installed on all Windows versions of the operating system, allows users to create code. Using TextEdit, the OS X equivalent, Mac users can write code.
However, it's generally a good idea to download and install a text editor that is especially made for coding if you intend to do a lot of it. These programmes offer a variety of options and add-ons that will make it easier for you to maintain clear, legible code and increase the productivity of your coding. Different code elements can be highlighted, code can be autocomplete, syntax is checked automatically depending on the programming language you are using, and there are many tabs to make navigating between projects simple.
On Linux, Windows, and MacOS, the Visual Studio Code Text Editor is a small-but-mighty editor with a fantastic UI (User Interface). It supports the majority of programming languages, provides multi-line selection and editing, and includes a large range of plugins that enhance the app's functionality.
The fundamental building blocks of this code are three: tags, elements, and attributes. You shouldn't have any trouble writing and updating that once you've mastered the guidelines for how each of these components works.
You may recall that we said the most crucial component of code was the use of angle brackets. These angle brackets and the code they contain are referred to as tags.
Tags are used to distinguish between HTML code and plain text.
Anything typed in between the angle brackets won't be displayed by the browser. Ordinary text is only used between the opening (also known as the start tag) and closing (also known as the end tag) tags to tell the browser how to display or modify it.
The primary difference between an opening tag and a closing tag is that the first symbol inside the brackets of a closing tag is a slash "/" sign. Tags typically appear in pairs.
As an illustration, the following contains two h1 tags (used to indicate heading text) and some material in between:
<h1>This has some information.</h1>
The initial tag in this instance is h1>, and the ending tag is /h1>.
When using tags, there are two basic guidelines that you must keep to.
Tags must always be enclosed in angle brackets. Other programming languages use round brackets and square brackets for various things. The browser won't understand your code if you try to use square or round brackets.
Almost every tag comes in pairs. This means that you must always shut a tag after opening it, with a few exceptions. The element you are trying to alter won't appear correctly if a closing tag isn't added. In the worst instance, failing to close a tag could result in a crash of your page. Although the ending tag is frequently added automatically by text editors, it's a good idea to start writing tags in pairs. Writing the opening tag first, the closing tag next, and the content between the tags last is the ideal method to achieve this.
This elements will be the topic of the next module.
A closing tag, an opening tag, and all the text included in between the two tags together make up an element.
let's take an example
<b>this is my Web page</b>
The starting tag in this example is <b>, the closing tag is </b>, and the content is "this is my Web page" When everything is combined, an element results.
HTML's elements look like the pieces of a puzzle. To create a whole picture, you take a number of components and combine them. A web page is really just an HTML document that contains all of the HTML elements in their entirety.