Skip to content

Instantly share code, notes, and snippets.

nm-scripts

Block or report user

Report or block nm-scripts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nm-scripts
nm-scripts / html-image-background.html
Last active Jan 23, 2020
HTML Tutorial » HTML Image Background. If you want to have the entire page background image, you must specify the background img on the <body> element: https://www.agernic.com/html-tutorial/html-image-background.html
View html-image-background.html
<!DOCTYPE html>
<html>
<head>
<title>HTML Image Background - example</title>
</head>
<body style="background-image:url(http://hdwbay.com/wp-content/uploads/2019/05/super-nature-Lake-Wallpaper.jpg)">
<h1>To this page we add Image Background under body - example</h1>
<a href="https://www.agernic.com/html-tutorial/html-image-size.html">
<img src="https://www.agernic.com/uploads/html-img-tag.jpg" alt="html image tag"> <br />
<a/>
@nm-scripts
nm-scripts / html-text-color-style.html
Created Jan 23, 2020
HTML Tutorial » HTML Text Color Style. Adding HTML Text Color Style using CSS inline - examples. https://www.agernic.com/html-tutorial/html-text-color-style.html
View html-text-color-style.html
<!DOCTYPE html>
<html>
<head>
<title>HTML Text Color Style using CSS inline</title>
</head>
<body>
<h1>HTML Text Color Style using CSS inline</h1>
<span style="color:#0033FF">Here add your text color style in line #0033FF (blue)</span>
<p style="color:#FF0000">example - Here add your text color style in line red #FF0000</p>
<p style="color:red">Example - This is my text color style red</p>
@nm-scripts
nm-scripts / html-table-style.html
Created Jan 23, 2020
HTML Tutorial » HTML Table Style The HTML style attribute specifies a style of table cells. https://www.agernic.com/html-tutorial/html-table-style.html
View html-table-style.html
<!DOCTYPE html>
<html>
<head>
<title>HTML Table Style</title>
</head>
<body>
<table style="background:#FFFFCC; width:100%; border:thick solid #FF3333"><br />
<tr><br />
<td style="border:1px solid #006699; witdh:100%;"> January </td><br />
<td style="border:1px solid #FF3333; witdh:100%;"> 12 </td><br />
View html-table-border.html
<!DOCTYPE html>
<html>
<head>
<title>HTML Table Border</title>
</head>
<body>
<table border="1">
<tr>
<th> title 1 </th>
<th> title 2 </th>
@nm-scripts
nm-scripts / css-background-image-opacity-without-affecting-text-content.html
Created Jan 8, 2020
CSS property as background-opacity that you wish to use only for changing the opacity or transparency of an CSS element's background without affecting text. https://www.agernic.com/css-tutorial/css-background-image-opacity-without-affecting-text-content.html
View css-background-image-opacity-without-affecting-text-content.html
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
body {
font-family: "Comic Sans MS", cursive;
font-size: 18px;
font-weight: bold;
color: #036;
}
@nm-scripts
nm-scripts / css-rounded-corners.css
Created Jan 7, 2020
CSS rounded corners. We will see how we can get rounded corner effect using border radius without going through the laborious process of creating images and fitting them in every item corner to create the desired effect https://www.agernic.com/css-tutorial/css-rounded-corners.html
View css-rounded-corners.css
.corner-radius1
{
border-radius:12px;
padding:10px;
width:250px;
height:160px;
background-color: #FF9;
float: left;
}
View max-width-height-responsive.css
.div-box1 {
width: 100%;
max-width: 450px;
height: 210px;
border: 1px solid #73AD21;
background-color: red;
}
.div-box2 {
width: 100%;
height: auto;
You can’t perform that action at this time.