Day 5 , 30 July 2023
Hey, Everyone,
Hope uh all are doing good.
Today was a good day and I learned many things as I progressed further in web dev. the first one I learned is how to create a table on a web page using HTML.
to insert a table we've to use the table tag at first and then to add the top row in bold letters, we'll use thead tag, then tr, and then th tags. After closing these nested tags in thead. Then we'll add lower layers, for that we'll use tbody, then tr and td tags as used below. Similarly to add a footer we've to use tfoot and then tr, th tags as we can see in the below code. Basically, th tag adds an element in a table in bold letters.
Later, I created a payment form. Learned many things form that too.
You can see that after the given code.
On July 30th, I delved into the world of payment processing and successfully crafted a payment form using HTML. Let me walk you through the process!
To begin with, just like we do for creating a table in HTML,
we start with the basic structure of an HTML page using the <!DOCTYPE
html> declaration. Next, we set the language and other necessary meta
tags within the <head> element.
Now comes the exciting part - building the payment form! We
use the <form> tag to create a form where users can input their
payment details.
Let me explain the structure of the form:
- The form begins with a header, denoted by the <h1> tag, welcoming
users to the payment form.
- We then add a small note using the <p> tag to indicate that
certain fields are required (marked with a *).
- The form is divided into two sections: "Contact Info" and
"Payment Info."
- In the "Contact Info" section, users can input their name, gender
(using radio buttons), address, email, and pin code.
- The "Payment Info" section allows users to select their card type
from a dropdown menu (created using the <select> and <option>
tags). Users can also input their card number, expiration date, and CVV
(Card Verification Value).
- Finally, a "Pay Now" button (using <input
type="submit">) is provided for users to submit their
payment.
And that's it! With these simple HTML elements and tags, I've successfully crafted a functional payment form for my website. This form allows users to securely enter their payment details, paving the way for seamless online transactions.
I'm thrilled with the progress I made in web development on
July 30th. I'm eager to explore more and continue learning to enhance my skills
in building exciting web applications. Stay tuned for more updates on my web
development journey!
Until next time,
Jaani
#WebDevelopment
#WebDesign
#FrontEndDevelopment
#BackEndDevelopment
#FullStackDevelopment
#JavaScript
#HTML
#CSS
#UIUX
#Coding
#Programming
#WebDeveloper
#CodeNewbie
#WebDevLife
#CodeLife
#TechCommunity
#TechTalks
#DeveloperHumor
#CodeSnippets
#ResponsiveDesign
Comments
Post a Comment