TGViewer
Web Development Web Development @webdevcoursefree · 79.7K subscribers
Post #3452 4.31K
Now, let's move to the next topic:

Web Basics Part:2 - HTML Structure and Core Tags

What HTML Is
• HTML means HyperText Markup Language
• Defines page structure
• Tells the browser what each part is

Basic HTML Structure
• <!DOCTYPE html>: Tells browser this is HTML5
• <html>: Root of the page
• <head>: Meta info, title, CSS links
• <body>: Visible content

Minimal Example
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- content here -->
</body>
</html>

Core Text Tags
• <h1> to <h6>: Headings (use one <h1> per page)
• <p>: Paragraph text
• <span>: Inline text styling
• <strong>: Important text
• <em>: Emphasis text

Links and Media
• <a href="">: Creates links (href holds target URL)
• <img src="" alt="">: Displays images (alt helps SEO and accessibility)

Lists
• <ul>: Unordered list
• <ol>: Ordered list
• <li>: List item

Forms and Inputs
• <form>: Wraps input elements
• <input>: text, email, password, checkbox
• <textarea>: Multi-line input
• <button>: Submits or triggers action

Tables
• <table>: Table wrapper
• <tr>: Row
• <th>: Header cell
• <td>: Data cell

Semantic Tags
• <header>
• <nav>
• <main>
• <section>
• <article>
• <footer>

Why Semantics Matter
• Better SEO
• Better screen reader support
• Cleaner code

Mini Practice Task
Create a simple profile page:
• Add:
– Heading with your name
– Image
– Short bio paragraph
– List of skills
– Contact form

Double Tap ♥️ For More
  • ❤ 25
  • 👏 2
More from @webdevcoursefree
  1. Oct 17, 2026𝗜𝗕𝗠 𝗙𝗥𝗘𝗘 𝗧𝗘𝗖𝗛 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 𝟮𝟬𝟮𝟲! 🎓 Explore IBM Cognitive Class and build…
  2. Oct 16, 2026𝗗𝗮𝘁𝗮 𝘀𝗰𝗶𝗲𝗻𝗰𝗲 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗪𝗶𝘁𝗵 𝗔𝗜😍 Future Ready Data Scien…
  3. Oct 16, 2026🌐 Web Development Roadmap — Part 18 HTML Lists Lists are used whenever information needs…
  4. Oct 14, 2026🌐 Web Development Roadmap — Part 17 HTML Images — <img> Tag Images make webpages more vis…
  5. Oct 13, 2026𝗧𝗢𝗣 𝗙𝗥𝗘𝗘 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 𝗧𝗢 𝗕𝗢𝗢𝗦𝗧 𝗬𝗢𝗨𝗥 𝗦𝗞𝗜𝗟𝗟𝗦 𝗜𝗡 𝟮𝟬𝟮𝟲! Explor…
  6. Oct 12, 2026For example: Go to Profile → <a> Submit Form → <button> Open Article → <a> Delete Account…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →