Attributes and Elements

Although rarely used, some attributes to this form are : 

  • Accept-charset
  • Autocomplete
  • Rel
  • target

And many more, which can inevitably be done by inserting CSS.

One interesting attribute is the placeholder. It specifies a short hint that describes the expected value of an input field.

<input placeholder="Hello Dear Reader!">

Let us look at some interesting elements: 

The <label> element : This represents a caption for an item in a user interface.     

<label>Click me <input type="text"></label>

The <button> element : This represents a clickable button, used to submit forms or anywhere in a document for accessible
        

<button name="button">Press me</button>

Here's what it looks like when we try it out : 

demo

 

Here is a small idea of how a basic form with html and a bit of css looks like : https://codepen.io/vanshi/pen/xxRvRzL

Discussion
Great work shivanshi

Thank You Prayasu! :)

After reading this post my interest in learning HTML has increased. Now I'm really curious . Thank you shivanshi s for such a enthralling post. You explained the whole concept really well.๐Ÿ™Œ๐Ÿ‘

2

thank you sm Joel๐Ÿ’™

Very informative article.Thank you!!

Thank you Ishanya ๐Ÿ’™

Hello Shivanshi S, Thank you so much for sharing all this wonderful info!!! Really helpful.

3

You're welcome Charvi โ™ฅ

Hii Dear! Wonderful article dead!! Keep up wuth this great work dear!!!

1

Thank you jigyasa ๐Ÿ’›

1

โคvery well writtenโค

2

๐Ÿ’›

1

Hi Shivanshi! You have taken up a very initial yet crucial topic to teach. Kudos. Can you please make the following changes for us to be able to publish it: 1. Divide it into 1 or 2 more steps 2. Add more screenshots of how stylized form would look like 3. Update your profile

Done!

1

6

7