Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Abhishek Jakhar abhishekjakhar

:octocat:
View GitHub Profile
@abhishekjakhar
abhishekjakhar / index.html
Created Oct 14, 2018
Global structure of HTML Document
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
I am learning HTML
</body>
</html>
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<h1>Heading Level 1</h1>
<h2>Heading Level 2</h2>
<h3>Heading Level 3</h3>
<h4>Heading Level 4</h4>
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<p>This is yet another paragraph.</p>
<p>
@abhishekjakhar
abhishekjakhar / index.html
Last active Oct 14, 2018
Lists in HTML (Unordered List, Ordered List, Description List)
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<ul>
<li>Unordered List Item 1</li>
<li>Unordered List Item 2</li>
<li>Unordered List Item 3</li>
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<a href="https://medium.com/">Medium</a><br>
<a href="https://www.google.com/">Google</a><br>
<a href="https://twitter.com/">Twitter</a>
</body>
@abhishekjakhar
abhishekjakhar / index.html
Created Oct 14, 2018
Link (Page on your site to page on another site)
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<a href="https://medium.com/">Medium</a>
</body>
</html>
@abhishekjakhar
abhishekjakhar / index.html
Created Oct 14, 2018
Link (Open a page in new window/tab)
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<a href="https://medium.com/" target="_blank">Medium</a>
</body>
</html>
@abhishekjakhar
abhishekjakhar / index.html
Created Oct 14, 2018
Link (Composing an email in the user's default email program)
View index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<p>Email Link<a href="mailto:example@example.com">Send Email</a><p>
</body>
</html>
@abhishekjakhar
abhishekjakhar / home.html
Created Oct 14, 2018
Link (Page on your site to page on same site - 1)
View home.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<h1>Home Page</h1>
<a href="about.html">Link to About Page</a>
</body>
</html>
@abhishekjakhar
abhishekjakhar / about.html
Created Oct 14, 2018
Link (Page on your site to page on same site - 2)
View about.html
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<h1>About Page</h1>
<a href="index.html">Link to Home Page</a>
</body>
</html>