How to Create Input Style with CSS

How to Create Input Style with CSS

In this article, you will learn How to Create Input Style with CSS. Input with Icon or Image:- <html> <head> <title>Input with Icon or Image</title> <style> input[type=text] { width: 100%; box-sizing: border-box; border: 2px solid #ccc; border-radius: 4px; font-size: 16px; background-color: white; background-image: url('search_icon.png'); background-position: 10px 10px; background-repeat: no-repeat; padding: 12px 20px 12px 40px; } </style> </head> <body> […]
Read Full Article
How to Use Cascading Stylesheet in HTML Document

Cascading Stylesheet

Cascading Stylesheet is used to describe the style of HTML document. CSS Example:- h1{ text-align:center; color:#fff; } p { font-size: 20px; font-family: arial; } Types of CSS Internal CSS External CSS Inline CSS Internal CSS Internal CSS is use between the section of <head>.. </head> with the <style> </style> tag. Example:- <html> <head> <title>Internal CSS</title> <style> p{ color:#fff; font-size:20px; […]
Read Full Article
How to Create Comment in HTML and CSS

How to Create Comment in HTML and CSS

Sometimes we need to don’t show some part in output but we do not want to delete in source code so we use to comment. In this article, you will learn How to Create Comment in HTML and CSS. Comment in HTML In HTML comment is use with the <!– –> Example:- <html> <head> <title>Comment in HTML</title> </head> […]
Read Full Article