TAWANATECHNOLOGY

توسعهٔ وب

HTML (2024-2025).

19 بخش‌های آموزشی / توانا تکنالوژی

دربارهٔ این کورس

HTML یا HyperText Markup Language زبان استاندارد ساختاردهی صفحات وب است؛ با آن محتوای صفحه را تنظیم می‌کنیم.

آنچه می‌آموزید

How was digital marketing created?
Introduction to HTML

HTML (Hyper Text Markup Language) is the standard language used to create and design webpages. It structures content using elements (tags), which browsers interpret to display text, images, links, and more.

Tags and Attributes

Tags define HTML elements, e.g., <p>, <h1>, <img>.Attributes provide additional information about elements, e.g., <img src="image.jpg" alt="Sample">.

Browser and Editors

Browser and EditorsBrowsers (Chrome, Firefox, Safari) display HTML content.Editors like VS Code, Sublime Text, or Notepad++ are used to write HTML code.

Key HTML Elements

Key HTML ElementsImportant elements:Headings: <h1> to <h6>Paragraph: <p>Links: <a>Images: <img>Lists: <ul>, <ol>, <li>Divisions: <div>Forms: <form>

Using CSS in HTML

Using CSS in HTMLCSS (Cascading Style Sheets) styles HTML content. Ways to use CSS:Inline: <p style="color:red;">Text</p>Internal: <style> p { color: red; } </style>External: <link rel="stylesheet" href="style.css">

Creating Links in HTML

Use the <a> tag:href: destination URLtarget="_blank": opens link in new tab <a href="https://example.com">Visit Example</a>

Understanding <div>, Classes, and IDs

Understanding <div>, Classes, and IDs<div>: container element for grouping contentclass: used for styling multiple elementsid: unique identifier for one element

Adding Images in HTML

Use the <img> tag:src: image pathalt: alternative text (important for accessibility)<img src="image.jpg" alt="Description">

Favicons in HTML

Favicons in HTMLFavicons are small icons shown in browser tabs. Add in <head>

Favicons in HTML

Favicons in HTMLFavicons are small icons shown in browser tabs. Add in <head>

HTML Comments and List Elements

HTML Comments and List ElementsComments: Not shown in the browserLists:Ordered list: <ol>Unordered list: <ul>List items: <li>

Tables in HTML

Tables in HTMLUsed to display data in rows and columns:<table> <tr><th>Name</th><th>Age</th></tr> <tr><td>Alice</td><td>25</td></tr></table>

Padding and Margin

Padding and MarginPadding: space inside an elementMargin: space outside an element Example (CSS)

HTML Colors

HTML ColorsColors can be defined by:Name: red, blueHEX: #FF0000RGB: rgb(255, 0, 0)HSL: hsl(0, 100%, 50%)

Semantic Elements in HTML

Semantic Elements in HTMLSemantic elements clearly describe their meaning:<header>, <footer>, <article>, <section>, <nav> They help with SEO and accessibility.

HTML Forms and input fields and types

HTML Forms – StructureForms collect user inputInput Fields in HTML FormsCommon input fields:Text: <input type="text">Password: <input type="password">Email: <input type="email">Submit: <input type="submit">Types of Inputs in HTMLMore input types:textnumberrangecolordatecheckboxradiofile

Multimedia in HTML

Multimedia in HTMLAdd sound/videoEmbedding YouTube VideosUse an <iframe>

Final HTML Project

Final HTML ProjectA project combines everything learned: Example:Header, navigationImage galleryForm (contact)Embedded YouTube videoSemantic layout with CSS styling

محتوای کورس‌ها از فهرست آموزشی مرکز تهیه شده است. نسخهٔ نصاب، پیش‌نیاز، فیس و زمان صنف را پیش از ثبت‌نام تأیید کنید. تمرین‌های امنیتی برای محیط‌های آموزشی مجاز است.