What is the full form of HTML | HTML full form

HTML (HypertExtMArkupLAnguage (code) is the code used to organize a web page’s content and pages. Content could be organized in a number of paragraphs or a list with bulleted points. Images and data tables are also options. This article will provide a basic understanding about HTML and its functions, as the title implies.

So what is HTML?

HTML is a Markup language This defines the structure of your content. HTML is a collection of several elements You use it to wrap or enclose different parts of the content in order to make them appear or act a particular way. The enclosing Tags You can link a word or an image to another place, italicize words and change the font size. Take the following example:

My cat is extremely grumpy

We could make the line stand alone by attaching paragraph tags to indicate that it is a paragraph.

<p> My cat is extremely grumpy </p>

Anatomy of an HTML element

Let’s look at this paragraph more closely.

These are the main components of our element:

  1. The opening tag:This is the element name (in this instance, p), enclosed in closing and opening.Angle brackets. This is where the element starts or stops taking effect. In this case, it is where the paragraph begins.
  2. The closing tagThis tag is identical to the opening tag but includes aForward slashBefore the element name. This is where the element’s end — in this instance, where the paragraph ends. It is a common beginner error that can lead to unexpected results.
  3. The content:This is the content of an element. In this instance, it is only text.
  4. The element:The element is made up of the opening tag, closing tag, as well as the content.
See also  full form of RMS

You can also add attributes to elements that look like these:

You don’t want attributes to be included in actual content. Attributes provide additional information about an element. Editor-note is the value of the attribute, while class is the name of the attribute. You can give an element a non-unique identifier with the class attribute. This can be used to target it and any other elements that have the same class value.

Attributes should always include the following:

  1. There should be a space between the element name and the element name (or previous attribute, if it already has one or more attributes).
  2. The attribute name is followed by an equal sign.
  3. The attribute value is wrapped in opening and closing quotation marks

Notification: Simple attributes values that do not contain ASCII whitespace (or any other characters)""`=<>Although a code can be left unquoted, it is recommended to quote all attributes values. This makes the code more consistent, and easier to understand.

Nesting elements

This is known as “Inserting elements into other elements” .Nesting. We could state that our cat is Very We could wrap “very” in a grumpy, but that would be a sign of being grumpy .element means that the word must be strongly emphasised .

However, you must ensure that all elements are correctly nested. 

Anatomy of an HTML document

This covers the basic HTML elements. However, they are not sufficient to be useful on their own. We’ll now look at how individual elements can be combined to create an entire HTML page.

!DOCTYPE HTML> — Doctype. It is an essential preamble. In the early days of HTML (around 1991/92), the doctypes served as links to a set rules that the HTML page needed to follow in order to be considered good HTML. This could include automatic error checking or other useful functions. These days, however, they are not necessary for much. They are merely needed to ensure that your document behaves properly. This is all there is to it.

See also  OPD FOLL FORM IN HINDI What is OPD's Full Form?

Theelement. This element wraps the entire page’s content and is often called the root element.

Theelement. This element is used to contain all content that you don’t want to show to the HTML page’s viewers. These include page descriptions, keywords, CSS style declarations, character set declarations and more.

— This element sets the character set your document should use to UTF-8 which includes most characters from the vast majority of written languages. Essentially, it can now handle any textual content you might put on it. There is no reason not to set this and it can help avoid some problems later on.

<span class=’wordai-block rewrite-block’ data-id=’2′>The</span><title><span class=’wordai-block rewrite-block’ data-id=’5′>element.</span> <span class=’wordai-block rewrite-block’ data-id=’19’>This is the title of the page. It is the title that will appear in the browser tab where the page is loaded.</span> <span class=’wordai-block rewrite-block’ data-id=’15’>This is used to describe the page when bookmarking/favoriting it.</span>

Theelement. This is all the content you want to display to your visitors when they visit your site. It can include text, images and videos as well as audio tracks.

Images

It embeds an image in our page in the same position as it appears, as we have already mentioned. This is done via the source attribute that contains the path to the image file.

An alt attribute (alternative) has been added. This attribute allows you to specify descriptive text that will be displayed for users who are unable to see the image.

  1. They have visual impairments. Screen readers are used by users with severe visual impairments to display the alt text.
  2. The image is not showing because something has gone wrong. To make the image not display, you can try changing the path in your attribute. You should see something similar to this if you save the page and reload it.
See also  What is the full meaning of RSA?

Alt text is defined as “descriptive text” by the keywords. Your alt text should give the reader enough information to get a clear idea of the message the image conveys. Our current text, “My test image”, is not very good. Our Firefox logo could be replaced with “The Firefox logo: A flaming Fox surrounding the Earth.”

You can now come up with better alt text to your image.

Find out more about accessibility in our accessibility learning module.

Marking up text

This section will discuss some of the most important HTML elements that you can use to mark up your text.

Headings

Heading elements can be used to indicate that certain parts of your content have headings or subheadings. An HTML document can have the main title, chapter titles and subtitles in the same way a book does. HTML has 6 heading levels

Although you might only need 3-4 at most, it is not uncommon to use more than that . My main title
My top level heading
My subheading
My sub-subheading
Copy to Clipboard Add a title to your HTML page by clicking on the element
.Notification: This will show that your heading level 1 is implicitly styled. You shouldn’t make your text bolder or larger by using heading elements. They are only used for this purpose .Accessibility And Other reasons, such as SEO. You should create a coherent sequence of headings for your pages without skipping any levels.

.

Leave a Comment

Your email address will not be published. Required fields are marked *