HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
HTML Tutorial

CSS Tutorial

HTML button link - How to create a button style in HTML

This page shows how to make HTML button links and styling them using CSS into different colors.

How to create a button style link in HTML

Here, in this example we will use <style> CSS to give our button link form on the same HTML page.

Example:
<!DOCTYPE html>
<html>
<head>
<style>
a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
background-color:#F30;
text-decoration: none;

}
</style>
</head>
<body>

<h2>Button Colors</h2>
<p>Change the background color of a button with the background-color property:</p>

<form action="http://www.agernic.com/html-tutorial.html">
<input type="submit" value="Go to HTML AgerNic.com" />
</form>

</body>
</html>

The html cod above will display this HTML buttons result:

HTML button link, button style

Change the background color of a button with the background-color property:


HTML button link, HTML button style HTML button link - How to create a button style in HTML - html tutorial

2107. HTML Tutorial - Intro
Beginner
https://tutorialehtml.com/en/beginners-guide-to-html/

3061. HTML Links: How to create Links to other Web Pages
Learn about HTML links with this HTML tutorial.
https://www.quackit.com/html/tutorial/html_links.cfm

2676. Lists : Bulleted Lists - HTML Tutorial
HTML lists - HTML tutorial
http://www.echoecho.com/htmllists01.htm

2641. Frames : Borders - HTML Tutorial
HTML frames - HTML tutorial
http://www.echoecho.com/htmlframes04.htm

2636. Forms : Quick Reference - HTML Tutorial
HTML forms - HTML tutorial
http://www.echoecho.com/htmlforms15.htm

2653. Hexcolors : Color Samples - HTML Tutorial
HTML hexcolors - HTML tutorial
http://www.echoecho.com/htmlhexcolors07.htm

Your add here
How to get PHP errors to display?
How to prevent sql injection in php mysqli
How do I get PHP errors to display - PHP error_reporting()
mysql_query(): The mysql extension is deprecated and will be removed i
Function eregi_replace() is deprecated in php - How to fix
PHP delete an element from an array
Uncaught Error: Call to undefined function MYSQL_NUM_ROWS() in
Deprecated: mysql_connect() mysql extension is deprecated and will be
mysqli_fetch_array() expects parameter 1 to be mysqli_result boolean g
SQL IN Operator - example
SQL BETWEEN Operator
SQL like syntax and example
SQL WHERE AND & OR multiple conditions
SQL create table primary key autoincrement
PHP mysqli_connect () Function
SQL COUNT(), AVG() and SUM() Functions
Display data from SQL database with MySQLi into php - html table
SQL CREATE DATABASE - example
SQL mysql order by columns, by date, by asc, by desc, random with PHP
PHP mysqli_query() Function - mysqli query
SQL delete row - SQL delete table
SQL update - SQL update select
Insert into SQL - Insert into table SQL - Insert data in sql
Login in PHP - simple login script with PHP MYSQL