{"id":54,"date":"2024-05-05T15:54:06","date_gmt":"2024-05-05T15:54:06","guid":{"rendered":"https:\/\/codebox.keyframetechsolution.com\/?p=54"},"modified":"2026-05-30T09:20:58","modified_gmt":"2026-05-30T03:50:58","slug":"admin-dashboard-with-html-css","status":"publish","type":"post","link":"https:\/\/codebox.keyframetechsolution.com\/admin-dashboard-with-html-css\/","title":{"rendered":"Create Responsive Admin Dashboard using HTML and CSS only"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>Building an admin dashboard template is an excellent way to develop a modern web application.<\/p>\n<p>It plays a crucial role in many web applications, offering a centralized dashboard that enables administrators to efficiently manage and track various aspects of an application.<\/p>\n<p>In this guide, I will explain to you how to create a responsive admin dashboard template using only HTML and CSS.<\/p>\n<p><strong>Let\u2019s dive into the steps:<\/strong><\/p>\n<p>\u2705 <strong>Watch Live Preview<\/strong> \ud83d\udc49\ud83d\udc49<\/p>\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/c9aJUBwpTX8?si=CeYMOLvIoXgVNBh9\" width=\"100%\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p><a href=\"#conclusion\">Click Here to Download the Code<\/a><\/p>\n<div class=\"border-blog-highlight\">\n<h2>Table of Contents<\/h2>\n<ul>\n<li><a href=\"#section1\">What is an Admin Dashboard?<\/a><\/li>\n<li><a href=\"#section2\">Plan Your Admin Dashboard Layout<\/a><\/li>\n<li><a href=\"#section3\">Set Up Your Project<\/a><\/li>\n<li><a href=\"#section4\">HTML Code Structure<\/a><\/li>\n<li><a href=\"#section5\">CSS Code Structure<\/a><\/li>\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n<\/div>\n<h3 id=\"section1\"><span data-preserver-spaces=\"true\">What is an Admin Dashboard?<\/span><\/h3>\n<article class=\"w-full text-token-text-primary focus-visible:outline-2 focus-visible:outline-offset-[-4px]\" dir=\"auto\" data-testid=\"conversation-turn-13\" data-scroll-anchor=\"true\">\n<div class=\"m-auto text-base py-[18px] px-6\">\n<div class=\"mx-auto flex flex-1 text-base gap-4 md:gap-5 lg:gap-6 md:max-w-3xl\">\n<div class=\"group\/conversation-turn relative flex w-full min-w-0 flex-col agent-turn @xs\/thread:px-0 @sm\/thread:px-1.5 @md\/thread:px-4\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex max-w-full flex-col flex-grow\">\n<div class=\"min-h-8 text-message flex w-full flex-col items-end gap-2 whitespace-normal break-words text-start [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"6533268a-3b45-4f66-9755-b48ee0e8e291\" data-message-model-slug=\"gpt-4o-mini\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[3px]\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p data-start=\"0\" data-end=\"658\" data-is-last-node=\"\" data-is-only-node=\"\">An admin dashboard is a web-based interface that allows administrators to manage and monitor various aspects of a website or application.<\/p>\n<p data-start=\"0\" data-end=\"658\" data-is-last-node=\"\" data-is-only-node=\"\">It provides a centralized platform for users to control settings, view data, and track important metrics like user activity, sales, and performance.<\/p>\n<p data-start=\"0\" data-end=\"658\" data-is-last-node=\"\" data-is-only-node=\"\">Typically, it includes tools for managing content, users, and other site functionalities. It is designed to present data in a clear, organized manner, often utilizing charts, tables, and statistics.<\/p>\n<p data-start=\"0\" data-end=\"658\" data-is-last-node=\"\" data-is-only-node=\"\">By providing a user-friendly interface, it enhances operational efficiency, decision-making, and overall management of applications.<\/p>\n<p data-start=\"0\" data-end=\"658\" data-is-last-node=\"\" data-is-only-node=\"\"><strong>Let&#8217;s start planning:<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/article>\n<h3 id=\"section2\"><span data-preserver-spaces=\"true\">Planning for Dashboard Template<\/span><\/h3>\n<p>Before jumping into the code, it&#8217;s important to have a rough idea of the elements you want to include in the dashboard. Let\u2019s take a look.<\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Sidebar Navigation<\/span><\/strong><span data-preserver-spaces=\"true\">: This generally contains links to different sections of the admin panel, such as &#8220;Dashboard&#8221;, &#8220;Settings&#8221;, &#8220;Users&#8221;, etc.<\/span><\/li>\n<li><strong><span data-preserver-spaces=\"true\">Main Content Area<\/span><\/strong><span data-preserver-spaces=\"true\">: This is where the bulk of your content will go, such as charts, tables, or any other data.<\/span><\/li>\n<li><strong><span data-preserver-spaces=\"true\">Header<\/span><\/strong><span data-preserver-spaces=\"true\">: It includes a logo, a user profile, or even a search bar.<\/span><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">For a responsive layout, we will use a sidebar, a header, and a main content area. Next, we will set up the project.<\/span><\/p>\n<p><strong>You may also like:<\/strong><\/p>\n<p><a href=\"https:\/\/codebox.keyframetechsolution.com\/date-picker-using-html-css-javascript\/\">Create Responsive Datepicker Animation using HTML CSS and JavaScript<\/a><\/p>\n<p><a href=\"https:\/\/codebox.keyframetechsolution.com\/border-animation-html-css\/\">How to Create Border Animation using HTML CSS (Source Code)<\/a><\/p>\n<p><a href=\"https:\/\/codebox.keyframetechsolution.com\/animated-landing-page\/\">How to Create Animated Landing Page using HTML CSS and JavaScript<\/a><\/p>\n<h3 id=\"section3\">Set Up Your Project<\/h3>\n<p><span data-preserver-spaces=\"true\"><br \/>\nOnce you have an idea of what will be included,\u00a0<\/span><span data-preserver-spaces=\"true\">it\u2019s<\/span><span data-preserver-spaces=\"true\">\u00a0time to set up the project structure. Create a folder on your computer and add the following files inside it:<\/span><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">index.html<\/span><\/strong><\/li>\n<li><strong><span data-preserver-spaces=\"true\">style.css<\/span><\/strong><\/li>\n<li><strong><span data-preserver-spaces=\"true\">script.js<\/span><\/strong><\/li>\n<\/ul>\n<h2>Source Code<\/h2>\n<h3 id=\"section4\">HTML Code Structure<\/h3>\n<p data-start=\"1119\" data-end=\"1249\">Start by creating the basic structure. This includes the navigation bar, main content area, and user profile. Here\u2019s the structure:<\/p>\n<div class=\"code-container\">\n<div class=\"toolbar\">\n<div class=\"actions\"><\/div>\n<div class=\"title\">index.html<\/div>\n<\/div>\n<div class=\"code-content\">\n<pre><code class=\"language-markup\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"en\"&gt;\r\n&lt;head&gt;\r\n  &lt;meta charset=\"UTF-8\"&gt;\r\n  &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\r\n  &lt;title&gt;Create Responsive Admin Dashboard using HTML and CSS Only&lt;\/title&gt;\r\n  &lt;link rel=\"stylesheet\" href=\"style.css\"&gt;\r\n  &lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css\"&gt;\r\n  &lt;script src=\"https:\/\/code.jquery.com\/jquery-3.5.1.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/typed.js\/2.0.11\/typed.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/waypoints\/4.0.1\/jquery.waypoints.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;link rel=\"stylesheet\" href=\"https:\/\/fonts.googleapis.com\/css2?family=Poppins:wght@400;500;600;700&amp;family=Ubuntu:wght@400;500;700&amp;display=swap\"&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;!-- CODE --&gt;\r\n\r\n&lt;script src=\"script.js\"&gt;&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<\/div>\n<\/div>\n<h3 id=\"section5\">CSS Code Structure<\/h3>\n<p>Once the HTML structure is in place, we will use CSS to style the dashboard and create an elegant design. Here\u2019s the structure:<\/p>\n<div class=\"code-container\">\n<div class=\"toolbar\">\n<div class=\"actions\"><\/div>\n<div class=\"title\">style.css<\/div>\n<\/div>\n<div class=\"code-content\">\n<pre><code class=\"language-markup\">\r\n&lt; \/* Your CSS code here *\/ &gt;\r\n&lt; * { &gt;\r\n\r\n&lt; margin: 0; &gt;\r\n&lt; padding: 0 &gt;\r\n&lt; box-sizing: border-box; &gt;\r\n&lt;     text-decoration: none; &gt;\r\n&lt;     } &gt;\r\n      <\/code><\/pre>\n<\/div>\n<\/div>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>Now that we&#8217;ve learned how to create an <a href=\"https:\/\/wrapbootstrap.com\/category\/templates\/admin-templates\" rel=\"nofollow noopener\" target=\"_blank\">admin dashboard template<\/a>, you can build a functional and modern admin interface with just a few lines of code, ensuring it&#8217;s fully responsive across all screen sizes.<\/p>\n<p>Feel free to experiment with the layout and add extra features like dropdown menus, modals, or notifications to further enhance your dashboard.<\/p>\n<p><strong><i class=\"fa fa-download\" style=\"color: #046bd2;\"><\/i> 46 people bought this<\/strong><\/p>\n<p><strong>Grab it Now for Just <i class=\"fa fa-rupee\" style=\"color: #046bd2;\"><\/i><span style=\"color: #046bd2;\">199<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Building an admin dashboard template is an excellent way to develop a modern web application. It plays a crucial [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":55,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[7],"tags":[342,283,340,9,284,341],"class_list":["post-54","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-admin-dashboard","tag-admin-dashboard-html-css-source-code","tag-admin-dashboard-template","tag-admin-dashboard-with-html-and-css","tag-responsive-admin-dashboard-html-css","tag-simple-admin-dashboard-design","tag-simple-dashboard-using-html-and-css"],"acf":[],"_links":{"self":[{"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":49,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":2485,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/posts\/54\/revisions\/2485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/media\/55"}],"wp:attachment":[{"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codebox.keyframetechsolution.com\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}