HOW TO LEARN HTML IN A DAY

HOW TO LEARN HTML IN A DAY

HTML stands for Hypertext Markup Language. Hypertext is merely text that functions as a link, while Markup Language is a method of writing layout information within documents. When a browser receives an HTML file, it searches the text for HTML codes, which are then used to create layouts, insert images, and attach them to other pages. HTML must be written in a text editor of your choice. Text editors include VS Code, Sublime Text, Atom, Notepad, and others. “.html” is the extension for any HTML file. In HTML code, there can only be one body tag.

HTML USEFULNESS

It is entirely possible to build a page without knowing the source of the page. It is important that you grasp the tags and what they perform if you wish to go beyond basic web design understanding.

HTML is useful in the following ways:

You can inspect the page source of other people’s websites and probably discover some interesting information.

Some tags are not recognized by the Editor and should not be used.

When the editor is not executing the operations you require, you can complete the work manually.

HOT POST:  A-Z ON BECOMING A SUCCESSFUL PROGRAMMER IN 2023

HTML STRUCTURE

An HTML document’s structure is made up of five elements, which are as follows:

Declaration of DOCTYPE -!DOCTYPE>

html> Html>

Heading – head>

titling – titling>

– body>

ESSENTIAL HTML TAGS

All HTML elements are made up of tags that describe the contents of the page. The following are the basic tags to be addressed:

<p> tag. In an html tag, this is known as a tag used to allocate a paragraph. The p> tag contains both an open and a close tag. That is, the tag should be rendered in your HTML code as p>/p>. The close tag is simply the open tag followed by a forward slash. Any word or sentence should be placed between the two tags.

<h1> tag. This is the most important heading tag. It is used in HTML files to describe a heading. The open and close tags are also present in the h1> tag. There are several sorts of heading tags, including h1>, h2>, h3>, h4>, h5>, and h6> tags. The highest heading tag is h1>, while the lowest is h6>.

HOT POST:  WHAT YOU SHOULD KNOW ABOUT WEB DEVELOPMENT AND ITS ADVANTAGES (vol. 2)

<a> tag. This tag is referred to as the anchor tag. This tag adds a link to another HTML file. It also includes the open and close tags. The HTML code for the anchor tag is ; a href=”….”>/>. When the other file name is entered inside the href, it links the HTML to another.

The image> tag. The image tag is here. It’s used to insert images into HTML files. In the code, an image tag looks like this: img src=””>. To insert an image into the img tag, provide the image name and extension into the src=” ” field. Images can have the following extensions:.jpg,.jpeg,.png,.gif, and so on. There is no closing tag for the image tag.

div> is a tag. The div tag is used to separate or distinguish portions of an HTML document. This tag contains both the open and close tags, div> />.

HTML IS NOT A LANGUAGE FOR PROGRAMMING.

Because of its utility in making web pages, many people believe HTML is a programming language. HTML, on the other hand, is not a programming language. HTML was simply used to mark up text so that browsers could read and understand it as web page content. It tells the browser which parts are headings, paragraphs, and links, and the browser displays them appropriately. HTML is only used for structural purposes on a web page, not for functional ones.

HOT POST:  WHAT YOU SHOULD KNOW ABOUT GOOGLE CLOUD PLATFORM WEBSITE HOSTING VOL. 1

Some of the reasons why is not programming are as follows:

It is devoid of any programming logic.

It cannot accept inputs and make outputs.

It’s impossible to declare variables or write functions, and it doesn’t do anything with data.

It lacks basic conditional phrases like If/Else.

It doesn’t use any mathematical logic.

Loops are computer language features that allow you to repeat instructions over and over again. Loops such as if-else statements and while loops are examples of flow control statements. These flow control statements can be found in all programming languages except HTML.