
How to create a footer in html – part 2
Before We Start
Every developer needs clean and modern elements to develop their websites, It contains pictures and a user interface element within a website. The most important one and the first section that the user sees when the user enters a website. How to create a footer in html – part 2
So if you are a person who wishes to develop a website, you have to know how to create that properly.

How to create a footer in html – part 2
We are here to solve your problem. In this article we discuss how to create these elements. Before we start please read the below articles which easier you to understand the process, if you are new to development.
Step 1 – Add HTML
It’s too easy and simple. Just copy and paste below code in your HTML editor between <body> </body> tag.
<footer class="footer-1 bg-gray-100 py-8 sm:py-12">
<div class="container mx-auto px-4">
<div class="sm:flex sm:flex-wrap sm:-mx-4 md:py-4">
<div class="px-4 sm:w-1/2 md:w-1/4 xl:w-1/6">
<h5 class="text-xl font-bold mb-6">Features</h5>
<ul class="list-none footer-links">
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Cool stuff</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Random feature</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Team feature</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Stuff for developers</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Another one</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Last time</a>
</li>
</ul>
</div>
<div class="px-4 sm:w-1/2 md:w-1/4 xl:w-1/6 mt-8 sm:mt-0">
<h5 class="text-xl font-bold mb-6">Resources</h5>
<ul class="list-none footer-links">
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Resource</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Resource name</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Another resource</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Final resource</a>
</li>
</ul>
</div>
<div class="px-4 sm:w-1/2 md:w-1/4 xl:w-1/6 mt-8 md:mt-0">
<h5 class="text-xl font-bold mb-6">About</h5>
<ul class="list-none footer-links">
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Team</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Locations</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Privacy</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Terms</a>
</li>
</ul>
</div>
<div class="px-4 sm:w-1/2 md:w-1/4 xl:w-1/6 mt-8 md:mt-0">
<h5 class="text-xl font-bold mb-6">Help</h5>
<ul class="list-none footer-links">
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Support</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Help Center</a>
</li>
<li class="mb-2">
<a href="#" class="border-b border-solid border-transparent hover:border-purple-800 hover:text-purple-800">Contact Us</a>
</li>
</ul>
</div>
<div class="px-4 mt-4 sm:w-1/3 xl:w-1/6 sm:mx-auto xl:mt-0 xl:ml-auto">
<h5 class="text-xl font-bold mb-6 sm:text-center xl:text-left">Stay connected</h5>
<div class="flex sm:justify-center xl:justify-start">
<a href="" class="w-8 h-8 border border-2 border-gray-400 rounded-full text-center py-1 text-gray-600 hover:text-white hover:bg-blue-600 hover:border-blue-600">
<i class="fab fa-facebook"></i>
</a>
<a href="" class="w-8 h-8 border border-2 border-gray-400 rounded-full text-center py-1 ml-2 text-gray-600 hover:text-white hover:bg-blue-400 hover:border-blue-400">
<i class="fab fa-twitter"></i>
</a>
<a href="" class="w-8 h-8 border border-2 border-gray-400 rounded-full text-center py-1 ml-2 text-gray-600 hover:text-white hover:bg-red-600 hover:border-red-600">
<i class="fab fa-google-plus-g"></i>
</a>
</div>
</div>
</div>
<div class="sm:flex sm:flex-wrap sm:-mx-4 mt-6 pt-6 sm:mt-12 sm:pt-12 border-t">
<div class="sm:w-full px-4 md:w-1/6">
<strong>FWR</strong>
</div>
<div class="px-4 sm:w-1/2 md:w-1/4 mt-4 md:mt-0">
<h6 class="font-bold mb-2">Address</h6>
<address class="not-italic mb-4 text-sm">
123 6th St.<br>
Melbourne, FL 32904
</address>
</div>
<div class="px-4 sm:w-1/2 md:w-1/4 mt-4 md:mt-0">
<h6 class="font-bold mb-2">Free Resources</h6>
<p class="mb-4 text-sm">Use our HTML blocks for <strong>FREE</strong>.<br>
<em>All are MIT License</em></p>
</div>
<div class="px-4 md:w-1/4 md:ml-auto mt-6 sm:mt-4 md:mt-0">
<button class="px-4 py-2 bg-purple-800 hover:bg-purple-900 rounded text-white">Get Started</button>
</div>
</div>
</div>
</footer>
Step 2 – Add CSS
We use some external CSS link to this code. No need to worry about this, copy and paste below code between <style></style> tag.
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/1.4.6/tailwind.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
</head>
Copy and paste below code in your HTML editor between <style></style> tag.
<style>
.footer-links a {
padding-bottom: 2px;
}
</style>
At the end we will have something like this. You can change fonts, colors, backgrounds and all things that you want. Enjoy it.
Your Output

Video Tutorial
Please watch this video to better understand this tutorial and don’t forget to subscribe to our channel.
Help others to find out about this article on Social Media sites. If you have any doubt or any problem, don’t hesitate to contact us. Thereafter we will be able to help you and also make sure you bookmark our site on your browser.