Skip to content

Schools of Web

Teach Yourself Web Development and Web Designing Step by Step With Easy Explanation

  • All About PHP
    • PHP for Beginners
    • PHP Function List
    • PHP How-to
  • HTML
    • HTML for Beginners
    • HTML How-to
  • CSS
    • CSS for Beginners
    • CSS How-to
Search Search Close
  • Home
  • Neil Fin
  • Page 2

Author: Neil Fin

Jan 26

How to style a dropdown menu (select element) using CSS without JavaScript?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You have a webpage with a dropdown menu. You want to style it. There are many solutions with javascript. But you need to style it using CSS only. Solution: Method-1:  Use appearance property HTML: CSS: Explanation: Here “appearance:none” property Read more

Jan 26

How to center an element/a div horizontally and vertically?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You have a div element. you need to center it horizontally and vertically in the browser. The HTML codes are: Solution: There are multiple ways to solve this problem. Method 1: CSS: Explanation: When you set “position:absolute”, the element Read more

Jan 26

What does enctype=’multipart/form-data’ mean in an HTML form?

Neil FinLeave a commentHTML How-to

Problem: You have a form tag that contains the attribute enctype=’multipart/form-data’. What does it mean in an HTML form and when should we use it? Solution: The enctype attribute specifies how the form-data should be encoded when submitting it to Read more

Jan 26

How to use meta tags to turn off caching in all browsers?

Neil FinLeave a commentHTML How-to

Problem: You have a webpage. You don’t want it to be cached by a web browser for some security reason. But there is no single <meta> attribute that is followed by all the browsers.  You have to find out the Read more

Jan 25

How to stretch and scale CSS background?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: There is a background for a container. The problem is that the background doesn’t cover the contents of that container. Now you need to stretch or scale to fill its container. Solution: The code: HTML: CSS: Explanation: background-size defines Read more

Jan 25

Is it possible or correct to put a div inside an anchor tag?

Neil FinLeave a commentHTML How-to

Problem: A webpage has anchor tag(<a>). You want to put a <div> element inside the <a> tag. But the problem is that <div> is a block element and <a> in an inline block element. Generally block element can’t sit inside Read more

Jan 25

How to get the footer to stay at the bottom of a Web page?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: A webpage contains some contents with footer.  You want to keep the footer always at the bottom whether the contents go pretty far down or not even enough content to go all the way to the bottom of the Read more

Jan 25

How to change an HTML5 input’s placeholder text color with CSS?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You have a form that contains input fields with the placeholder. The default color of the placeholder is light gray. You need to change the color of the placeholder. Solution: If you want to change the color to pink, Read more

Jan 24

What is the recommended way to embed PDF in HTML?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You want to embed a PDF file on your html page. And you’re looking for the best way to do that. Solution: The best way of embedding a PDF file is to use the <object> tag. The code: Explanation: Read more

Jan 24

How to give text or an image a transparent background using CSS?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You want to put a background on the contents (texts or image) and make it transparent using opacity. But you don’t want to change opacity of your contents. HTML: CSS: By doing this, both background and text become in Read more

Posts pagination

Previous 1 2 3 … 20 Next

Courses

  • PHP for Beginners
  • CSS for Beginners
  • HTML for Beginners

How-to Tutorials

  • PHP How-to
  • HTML How-to

About this site

Schools of Web is run by web developer and designer to help others learn it easily.
  • Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Earnings Disclaimer
Copyright © All rights reserved.
Education Soul by WEN Themes