HTML Css Js PHP Notes
HTML Css Js PHP Notes
</body></html>
<p title="Description of W3Schools"> when you add Quotation all the text inside
quotation will be displayed
Under line <u> ------- </u>
These all elements presents <i> ------- </i> <var> ---- </var <em> ------- </em>
Italic impact cite> The Scream </cite> <dfn> --- </dfn>
<address>
Written by John Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
Bold <b> ------- </b>
<strong> This text is important! </strong>
Colors <!DOCTYPE html><html><body>
<h1 style="background-color:Tomato;">Tomato</h1>
<h1 style="background-color:Orange;">Orange</h1>
<h1 style="background-color:DodgerBlue;">DodgerBlue</h1>
<h1 style="background-color:MediumSeaGreen;">MediumSeaGreen</h1>
<h1 style="background-color:Gray;">Gray</h1>
<h1 style="background-color:SlateBlue;">SlateBlue</h1>
<h1 style="background-color:Violet;">Violet</h1>
<h1 style="background-color:LightGray;">LightGray</h1>
</body> </html>
<p style="background-color:Tomato;">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit
lobortis nisl ut aliquip ex ea commodo consequat. </p>
Exp.3 Text Color
<h1 style="color:Tomato;">Hello World</h1>
<p style="color:DodgerBlue;">Lorem ipsum...</p>
<p style="color:MediumSeaGreen;">Ut wisi enim...</p>
<hr style="width:50%;text-align:left;margin-left:0">
<hr style="height:2px;border-
width:0;color:gray;background-color:gray">
<hr style="height:30px">
<hr style="width:50%">
<dialog open>This is an open dialog window</dialog>
The <dialog> tag
defines a dialog box
or subwindow.
<!DOCTYPE html>
Style <html>
<body>
<p>I am normal</p>
<p style="color:red;">I am red</p>
<p style="color:blue;">I am blue</p>
<p style="font-size:50px;">I am big</p>
</body>
</html>
<p>Here is a quote from WWF's website:</p>
<blockquote> --
</blockquote> <blockquote
cite="http://www.worldwildlife.org/who/index.html">
element defines a For 60 years, WWF has worked to help people and
section that is quoted nature thrive. As the world's leading conservation
from another source. organization, WWF works in nearly 100 countries. At
every level, we collaborate with people around the
world to develop and deliver innovative solutions
that protect communities, wildlife, and the places
in which they live.
</blockquote>
<p>WWF's goal is to: <q>My Page.</q></p>
quotation marks
around the <q>
element.
“ My Page ”
<h1 style="background-color:powderblue;">This is a
Set background color heading</h1>
for two different
elements:
<p style="background-color:tomato;">This is a
Use paragraph.</p>
the style attribut
e for styling HTML
elements <h1 style="font-size:300%;">This is a heading</h1>
</body></html>
Link Titles
<a href="https://www.w3schools.com/html/" title="Go
to W3Schools HTML section">Visit our HTML
Tutorial</a>
Link Colors
<!DOCTYPE html>
<html>
<head>
<style>
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: pink;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>
<body>
<h2>Link Colors</h2>
</body></html>
Link Button
<!DOCTYPE html>
<html>
<head>
<style>
a:link, a:visited {
background-color: #f44336;
color: white;
padding: 15px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:hover, a:active {
background-color: red;
}
</style>
</head>
<body>
<h2>Link Button</h2>
<p>A link styled as a button:</p>
<a href="default.asp" target="_blank">This is a
link</a>
</body>
</html>
<!DOCTYPE html>
Create a <html>
<body>
Bookmark <p><a href="#C4">Jump to Chapter 4</a></p>
When the link is <p><a href="#C10">Jump to Chapter 10</a></p>
clicked, the page will
scroll down or up to <h2>Chapter 1</h2>
the location with the <p>This chapter explains ba bla bla</p>
bookmark.
<h2>Chapter 2</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 5</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 6</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 7</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 8</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 9</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 11</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 12</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 13</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 14</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 15</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 16</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 17</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 18</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 19</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 20</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 21</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 22</h2>
<p>This chapter explains ba bla bla</p>
<h2>Chapter 23</h2>
<p>This chapter explains ba bla bla</p>
</body></html>
<img src="pic_trulli.jpg" alt="Italian Trulli">
Image <img src="img_girl.jpg" alt="Girl in a jacket"
style="width:500px;height:600px;">
Exp1.
<!DOCTYPE html><html><body>
<map name="workmap">
<area shape="rect" coords="34,44,270,350"
alt="Computer" href="computer.htm">
<area shape="rect" coords="290,172,333,250"
alt="Phone" href="phone.htm">
<area shape="circle" coords="337,300,44" alt="Cup
of coffee" href="coffee.htm">
</map></body></html>
<!DOCTYPE html>
<html>
<body>
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun"
href="sun.htm">
<area shape="circle" coords="90,58,3"
alt="Mercury" href="mercur.htm">
<area shape="circle" coords="124,58,8" alt="Venus"
href="venus.htm">
</map></body></html>
<!DOCTYPE html>
Menu <html>
<body>
<menu>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</menu>
</body>
</html>
<!DOCTYPE html>
The meter <html><body>
element <h1>The meter element</h1>
</body></html>
<!DOCTYPE html><html><body>
The nav
<h1>The nav element</h1>
element
<p>The nav element defines a set of navigation
The nav element links:</p>
defines a set of
navigation links: <nav>
<a href="/html/">HTML</a> |
<a href="/css/">CSS</a> |
<a href="/js/">JavaScript</a> |
<a href="/python/">Python</a>
</nav>
</body></html>
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/header
https://developer.mozilla.org/en-US/docs/Web/HTML
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro