mobile menu trigger, icon

Category: Web Development

I write about web development because I am a web developer. The writings could help other developers & anybody who want to do it themselves. Or anyone who got stuck at a certain point and I may give it an answer.

I already got some feedback (blog comments) from readers who said that my guideline helped them to solve their problems.

In this web development topic, I discuss the following things: Domain, Web Hosting, Google Analytics, Google Search Console, Localhost, FTP, CMS, and programming.

Also, I post case studies very frequently. See one of my case studies that shows why most websites fail »

By the way, if you don’t know, I also help people to create their websites. If you want to redesign your existing website or want to create a new one, feel free to reach out.

I wrote a short history of CSS. If you’re interested, check the post after. It also covers some other basic questions. Most of the CSS posts are experimental and include source code. These explain how to achieve something with CSS. Also, they contain my personal explanations and even videos where necessary.


How to style buttons with CSS (9 examples included)

buttons CSS and examples

To style buttons, you can write CSS to make it look exactly the way you want. There is no right or wrong way to style buttons. And you can come up with many creative buttons in CSS. Here I have included a couple of live examples that you can take as inspiration. Some of these buttons have animations. Hover your mouse on each of these buttons to see the animation in action. Example #1 Learn more » Example #2 Learn more » Example #3 Learn more » Example #4 Learn more » Example #5 Learn more » Example #6 Learn […]

Read More →

How to embed PDF in HTML & make it responsive?

Embed PDF files in HTML documents

You can embed a PDF file in an HTML document using the <embed>, <iframe> or <object> tag. See the examples below. Embed PDF using the <embed> tag However, to make it mobile responsive, write the following CSS. This will add a horizontal scrollbar to the smaller screens. On the desktop, it looks like the following screenshot. You can do the same with iframe & object tags. Using iframe tag Using object tag Embedding PDF with the object tag has an extra advantage. If someone’s browser does not have a built-in PDF viewer, he/she can see a custom message and download […]

Read More →

How to create an HTML mailto link (including email subject)?

HTML mailto link

In this post, I will show you how to create a mailto link in HTML. This is generally known as an email link. If someone clicks the email link, it will take them to their default email client such as Gmail, Yahoo, Microsoft/Outlook, etc. And some of the fields such as “To, Subject, etc” will be pre-populated. This is what you’re going to build in this post. Also, I will show you some advanced customization options. Let’s get started. Create a mailto link in HTML To create a mailto link use the following HTML code: These two lines create links […]

Read More →

How to create an HTML button that works like a link?

Button link HTML CSS

An HTML button is generally used to submit a form. However, you can create a button that works like a link. There are a couple of ways to make a button link. I mentioned them below. Add a link to the button using JavaScript Here the “onclick” is one of many JavaScript events. You can put any link between the single quotes. And by clicking the button, it will redirect you to the destination. Relative link path In the above example, it’s an absolute path. If you need to add a relative link path, use the following example below. Here […]

Read More →

How to create a hero banner image using HTML CSS?

How to create a hero banner image using HTML & CSS

In this post, you will see how to create the hero banner image only using HTML & CSS. The hero banner image is generally known as the “Hero Section” on a web page. It’s normally the first section of a web page. And this hero section generally consists of a background image and a background overlay color, and on top of that, it contains a heading, paragraph & CTA (call to action). End of this post, I will give you the full source code & show you the live preview. Let’s see how we can create a hero section as […]

Read More →

How to create a multiple-page website in HTML? (downloadable template)

How to create a multiple page website using HTML

In this post, I will show you how to create a multi-page website in HTML. End of it, I will also give you the full source code to download. You will also learn how to upload this static HTML website to a live domain & hosting. As we go through, you will also learn some basic CSS to style the HTML web pages. Last but not least, you will also learn how to make it mobile-responsive. See the live preview that we’re going to build in this post. Let’s get started. How to create a multi-page website in HTML? To […]

Read More →

Flexbox CSS – Everything you need to align elements

Flexbox css

CSS Flexbox refers to the “Flexible Box Module.” It is designed to align your HTML items & layouts in a more powerful way than CSS float. Flexbox is a one-dimensional layout model (either row or column when it comes to flex-direction). This post will give you a clear concept and practical examples of the Flexbox. If you take the time to understand this post (line by line) and watch the video, you will be able to use CSS Flexbox properly in your real web development projects. And this will give you a rock-solid understanding that will help you to solve […]

Read More →

How to create a video preloader on your website (Static, Divi, Elementor)?

Create video preloader on website

If you want to create a video preloader on your website, this post will walk you through the complete process. Also, I showed you four different examples of how to create the preloader on a static HTML website, Divi, Elementor pro website, and how to exit the preloader dynamically with DOM (content) fully loaded. I used the same technics with a slightly different approach depending on the CMS (WordPress), page builders, etc. What is actually a preloader? In simple words, a preloader is content that is visible until the webpage finishes loading. And it disappears after the DOM (content) is […]

Read More →

Create a responsive navigation menu using HTML, CSS & JS

Responsive navigation and hamburger menu

If you’re trying to create a responsive navigation menu that works well on all screen sizes, this post will walk you in the right direction. Aside from the responsive header, you’ll also learn how to create a simple hamburger menu for smaller screen sizes. End of this post, the source code is available for download. Before you start building the navigation menu, see the demo in the link below. How to create responsive header navigation & hamburger menu? In this example, I will use HTML, CSS & a few lines of JavaScript. As you saw on the live demo, the […]

Read More →

Do you need SiteLock Security on Bluehost?

SiteLock Security on Bluehost

Bluehost has 22 add-ons to their marketplace and “SiteLock Security” is one of them. It’s a third-party tool that searches for threats and fixes websites if there are any security issues. Bluehost is partnered with SiteLock and they offer this security service to their clients. After the “Codeguard Basic,” this SiteLock Security is one of the most discussed add-ons among all other package extras. You will find this “SiteLock Security” add-on on the Bluehost dashboard. If you’re an existing Bluehost customer, you will find it in their marketplace. After you log in to your Bluehost account, navigate to “Marketplace → […]

Read More →