Secret Html Tag Attributes- The language of website


HTML: The Language of Websites

HTML TAgs and Attributes


HTML is the most widely used markup language on the Internet. It’s what’s called a Hyper Text Markup Language: a language that represents web pages as hyperlinks, divs, and other elements. HTML is so common that you might think you know it by heart, but the truth is that HTML can be complex and difficult to understand at first glance. Thankfully, there are plenty of tutorials and guides available that teach you the ins and outs of HTML — without bogging you down in jargon or wasting your time with unnecessary details. In this lesson, we’ll introduce you to the basics of HTML, its uses, its structure, its elements, and more. We’ll also walk you through code snippets to give you an idea of how HTML elements interact with one another — something that’s even more important when writing web pages than it is reading them.

What is HTML?

HTML (Hyper Text Markup Language) is a language designed to represent web pages as links, divs, and other elements. It’s not a programming language, so it’s not going to help you write code, but it is a means to create web pages. The basic elements of a web page are composed of tags. There are thousands of tags, each with its own unique meaning. When you see a tag that you don’t recognize, you can look it up in a tag cloud to get a better idea of what it does.

How to Read a HTML Page

To understand how to read a HTML page, you must first know what to look for. On a typical web page, you’ll find a number of elements that collectively make up the content. There are a number of elements that you’ll come across on a daily basis, so it’s important to know what they do. Here’s what you need to know about some of the most common elements of a page. The  html file (web pages ) are store on web server for online access .

The Benefits of Using HTML

The benefits of using HTML are almost too numerous to list, but here are a few of the most important ones: Users can access your site without having to know any programming or scripting languages. There’s no reason to miss out on the benefits of easy, simple, and user-friendly web pages because your code doesn’t call for any intricate mathematics or physics. You don’t have to be an engineer to write a web page in HTML. Anyone with a few days’ experience can write a web page in HTML. You can create professional-looking web pages with minimal effort. You can use pre-existing designs, or you can create your own.

The Proper Way to Write HTML

If you’ve been programming in another language or you’re a complete beginner, learning to write web pages in HTML may feel like a marathon without a finish line. There are a number of different learning styles when it comes to programming, and learning to write HTML falls under the general category of “don’t rush me.” The internet is full of resources to help with this, from online courses to online forums and blogs. Spend as little time as possible learning the ins and outs of HTML, and focus instead on learning other core programming skills. When you feel comfortable with the language, you can begin to examine your site’s HTML and see what you can improve.

The Secret HTML Attributes 

1.Accept

As you know html allow you to create inputs where you can upload your files . In addition to that, the html attribute accept is used on upload inputs in order to specify the type of files or the only format that user can upload

<input type="file" accept=".jpg,.png">


2.Multiple

The attribute multiple in html can be attached to the tag <input> and <select>. It basically allow the user to enter the multiple values.

<input type="file" multiple>

3. Download

The attribute download in html specifies that links will be downloaded when a user clicks on them .this attribute allows users to download files from your website.

<a href="img.png" download="img.png">Download Now</a>


4.Translate

The translate attribute specifies whether the content of an element should be translated or not.

<p translate="no" > TechiZoo</p>

5.Poster

The attribute poster is used to display an image while html video is downloading, or untail the users clicks on play button.

<video poster="picture.jpeg" controls>


<source src="file.mp4" type="files/mp4">

</video>

Conclusion

The internet has made it incredibly easy for people to share their thoughts and ideas. With social media sites like Facebook and Twitter, almost anyone can become a public figure overnight. As a result, it’s critical that you know the ins and outs of writing a web page. HTML is the language that Web pages are written in. You don’t have to be an engineer to write a web page in HTML, and you don’t have to be an artist either. With a little bit of effort, you can create a professional-looking web page without any special training or experience.



Webnerpk

Post a Comment

Previous Post Next Post