Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added semantic Tutorial #123

Merged
merged 3 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions html/html_media/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<main class="main">
<div class="navigation-link">
<a href="../html_acessibility/"><i class="bi bi-chevron-double-left"></i> Previous</a>
<a href="../html_intro/">Next <i class="bi bi-chevron-double-right"></i></a>
<a href="../html_semantics/">Next <i class="bi bi-chevron-double-right"></i></a>
</div>

<div class="htmlpost__box">
Expand Down Expand Up @@ -150,7 +150,7 @@ <h2>Enhancing User Experience</h2>

<div class="navigation-link">
<a href="../html_acessibility/"><i class="bi bi-chevron-double-left"></i> Previous</a>
<a href="../html_intro/">Next <i class="bi bi-chevron-double-right"></i></a>
<a href="../html_semantics/">Next <i class="bi bi-chevron-double-right"></i></a>
</div>
</main>

Expand Down
83 changes: 83 additions & 0 deletions html/html_semantics/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<title>html.org.in | Page Not Found</title><!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>html.org.in | Page Not Found</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">

<link rel="apple-touch-icon" sizes="180x180" href="../../favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../../favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../../favicon_io/favicon-16x16.png">
<link rel="manifest" href="../../favicon_io/site.webmanifest">
<style>
.page_404 {
padding: 40px 0;
background: #fff;
font-family: 'Arvo', serif;
}

.page_404 img {
width: 100%;
}

.four_zero_four_bg {

background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
height: 400px;
background-position: center;
}

.four_zero_four_bg h1 {
font-size: 80px;
}

.four_zero_four_bg h3 {
font-size: 80px;
}

.link_404 {
color: #fff !important;
padding: 10px 20px;
background: #39ac31;
margin: 20px 0;
display: inline-block;
}

.contant_box_404 {
margin-top: -50px;
}
</style>
</head>

<body>
<section class="page_404">
<div class="container">
<div class="row">
<div class="col-sm-12 ">
<div class="col-sm-10 col-sm-offset-1 text-center">
<div class="four_zero_four_bg">
<h1 class="text-center ">404</h1>


</div>

<div class="contant_box_404">
<h3 class="h2">
Look like you're lost
</h3>

<p>the page you are looking for not avaible!</p>

<a href="./" class="link_404">Go to Home</a>
</div>
</div>
</div>
</div>
</div>
</section>
</body>

</html>
135 changes: 135 additions & 0 deletions html/html_semantics/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Dsky Solution v1.0.0" />
<meta property="og:title" content="HTML Attributes | A open source project 💖" />
<meta property="og:locale" content="en_IN" />
<meta name="description" content="HTML.ORG.IN A free platform for html learning " />
<meta property="og:description" content="HTML.ORG.IN A free platform for html learning " />
<link rel="canonical" href="https://html.org.in/" />
<meta property="og:url" content="https://html.org.in/" />
<meta property="og:site_name" content="html.org.in for html learner" />
<meta property="og:image" content="https://www.html.org.in/Website/assets/image/social-card.png" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="https://www.html.org.in/Website/assets/image/social-card.png" />
<meta property="twitter:title" content="html.org.in for html learner" />
<meta name="twitter:site" content="@diptenusarkar" />
<title>HTML Attributes | A open source project 💖</title>

<!-- !Stylesheet -->
<link rel="stylesheet" href="../../Website/Style/web/main_post_d485f_v1.css">
<link rel="stylesheet" href="../../Website/Style/vender/css/prism.css">
<link rel="stylesheet" href="../../Website/Style/vender/css/video-play.css" />

<!-- media query screen -->
<link rel="stylesheet" type="text/css" media="(max-width: 320px)" href="../../Website/media_query/media320.css">
<link rel="stylesheet" type="text/css" media="(max-width: 375px)" href="../../Website/media_query/media375.css">
<link rel="stylesheet" type="text/css" media="(max-width: 425px)" href="../../Website/media_query/media425.css">
<link rel="stylesheet" type="text/css" media="(min-width:426px) and (max-width: 768px)"
href="../../Website/media_query/media768.css">
<link rel="stylesheet" type="text/css" media="(min-width: 768px)" href="../../Website/media_query/media1000.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.3/font/bootstrap-icons.css">

<link rel="apple-touch-icon" sizes="180x180" href="../../favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../../favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../../favicon_io/favicon-16x16.png">
<link rel="manifest" href="../../favicon_io/site.webmanifest">
</head>

<body>
<header class="header">
<nav class="menu-wrap nav">
<a href="/" class="logo__top" style="color:#ff6d00;"><i class="bi bi-filetype-html"></i> HTML.ORG.IN </a>
<input type="checkbox" class="toggler">

<div class="hamburger">
<div></div>
</div>
<div class="menu">
<div>
<div>
<ol>
<li>
<div include-html="../../include/navlink.html" id="navlink_file"></div>
</li>
<li>
<div class="theme__box">
<select id="themeSwitcher">
<option value="">Select One</option>
<option value="theme-dark">Dark</option>
<option value="theme-light">Light</option>
<option value="theme-gray">Gray</option>
<option value="theme-yellow">Yellow</option>
<option value="theme-blue">Blue</option>
<option value="theme-purple">Purple</option>
</select>
</div>
</li>
</ol>
</div>
</div>
</div>
</nav>
</header>
<!-- <div class="theme__box">
<select id="themeSwitcher">
<option value="">Select One</option>
<option value="theme-dark">Dark</option>
<option value="theme-light">Light</option>
</select>
</div> -->

<main class="main">
<div class="navigation-link">
<a href="../html_media/"><i class="bi bi-chevron-double-left"></i> Previous</a>
<a href="../html_intro/">Next <i class="bi bi-chevron-double-right"></i></a>
</div>

<div class="htmlpost__box">
<h1>HTML Semantics &#128204;</h1>
<hr>
<p class="htmlpost__hr-p">
HTML semantics refers to the meaning or purpose of the elements used in an HTML document. It is important to use semantic HTML to improve the accessibility and search engine optimization (SEO) of your website. Here is a basic tutorial on HTML semantics:

<ul>
<li>Use semantic tags: HTML5 introduced several new semantic tags such as <code>&lt;header&gt;</code>, <code>&lt;nav&gt;</code>, <code>&lt;main&gt;</code>, <code>&lt;article&gt;</code>, <code>&lt;section&gt;</code>, <code>&lt;aside&gt;</code>, and <code>&lt;footer&gt;</code>. These tags provide a clear indication of the purpose of the content within them. For example, the <code>&lt;header&gt;</code> tag is used to define the header of a document or section, while the <code>&lt;nav&gt;</code> tag is used to define a set of navigation links.</li>

<li>Use headings: Headings (<code>&lt;h1&gt;</code> to <code>&lt;h6&gt;</code>) are used to define the structure of a document. They provide a clear hierarchy of the content and help users to understand the main topics of the page.</li>

<li>Use lists: Lists (<code>&lt;ul&gt;</code>, <code>&lt;ol&gt;</code>, and <code>&lt;dl&gt;</code>) are used to group related content together. They provide a clear structure to the content and make it easier to read and understand.</li>

<li>Use alt text: Alt text is used to describe the content of an image for users who cannot see it. It is important to use descriptive alt text to improve the accessibility of your website.</li>

<li>Use tables for tabular data: Tables (<code>&lt;table&gt;</code>, <code>&lt;thead&gt;</code>, <code>&lt;tbody&gt;</code>, <code>&lt;tfoot&gt;</code>, <code>&lt;tr&gt;</code>, <code>&lt;th&gt;</code>, and <code>&lt;td&gt;</code>) are used to display tabular data. It is important to use the correct table structure to ensure that the data is presented in a clear and accessible way.</li>
</ul>

I hope this helps you understand the basics of HTML semantics.
</p>
<hr>
</div>

<div class="navigation-link">
<a href="../html_media/"><i class="bi bi-chevron-double-left"></i> Previous</a>
<a href="../html_intro/">Next <i class="bi bi-chevron-double-right"></i></a>
</div>
</main>

<div include-html="../../include/post__footer.html" id="footer_file"></div>

<script src="../../Website/Style/vender/js/prism.js"></script>
<script src="../../Website/app.js"></script>
<script src="../../Website/Style/vender/js/video-play.js" crossorigin="anonymous"></script>
<script src="../../Website/JavaScript/jquery-3.6.0.min.js"></script>
<script src="../../Website/JavaScript/include-html.min.js"></script>
<script>
const player = new Plyr('#player');
</script>
</body>

</html>
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,20 @@ <h1>HTML Media</h1>
</p>
</div>
</div>


<div class="main__html-componentBox">
<div class="main__html-componentBox-logobox">
<img src="/Website/assets/svg/icons8-html-5.svg" alt="html logo">
</div>
<div class="main__html-componentBox-textBox">
<h1>HTML Semantics</h1>
<p>
HTML semantics gives meaning to the document and tells the browser how to handle the document.
<a href="/html/html_semantics/">Learn More <i class="bi bi-book"></i></a>
</p>
</div>
</div>
</section>
</main>

Expand Down