Chapter 010mAI Lab

HTML Introduction in Tamil — AI Lab

தமிழில் HTML Introduction கற்றுக்கொள்ளுங்கள். HTML Elements, Tags, Basic Structure, Code Examples, MCQ மற்றும் Practice Exercises உடன் HTML கற்கத் தொடங்குங்கள்.

AI Lab15 min3 prompts

AI லேப் — AI உடன் HTML கற்றுக்கொள்ளுங்கள்

HTML குறியீட்டை உருவாக்க, விளக்க மற்றும் பிழைதிருத்த AI-ஐ திறம்பட பயன்படுத்துவதைக் கற்றுக்கொள்ளுங்கள்.

AI லேப் — AI உடன் HTML கற்றுக்கொள்ளுங்கள்

இந்த AI லேப்பில் HTML குறியீட்டை எழுத, புரிந்துகொள்ள மற்றும் பிழைதிருத்த AI-ஐ திறம்பட பயன்படுத்தக் கற்றுக்கொள்ளுங்கள்.

Prompt Lessons

01

அடிப்படை HTML பக்கத்தை உருவாக்குங்கள்

easygenerate

AI-ஐ தலைப்பு, தலைப்பு மற்றும் பத்தியுடன் முழுமையான HTML5 ஆவணத்தை உருவாக்கச் சொல்லுங்கள்.

You will learn
அமைப்பு, உள்ளடக்கம் மற்றும் HTML5 தரநிலைகளை குறிப்பிடும் தெளிவான ப்ராம்ப்ட் எழுதக் கற்றுக்கொள்ளுங்கள்.
Prompt
Try with AI
பின்வரும் தேவைகளுடன் செல்லுபடியாகும் HTML5 ஆவணத்தை உருவாக்குங்கள்:

1. பக்கத் தலைப்பு: "My First Web Page"
2. "Welcome to HTML" என்ற முக்கிய தலைப்பு (h1)
3. HTML என்றால் என்ன என்பதை சுருக்கமாக விளக்கும் பத்தி (p)

முழுமையான HTML ஆவணத்தைத் திருப்பி அனுப்பவும்.

இந்த ப்ராம்ப்ட் நன்றாக வேலை செய்கிறது ஏனெனில் இது ஆவண வகை, சரியான உள்ளடக்க தேவைகள் மற்றும் சரியான அமைப்பை குறிப்பிடுகிறது.

Expected Output

A complete, valid HTML5 document with proper structure.

Example Output

<!DOCTYPE html>
<html lang="en">
<head>
  <title>My First Web Page</title>
</head>
<body>
  <h1>Welcome to HTML</h1>
  <p>HTML (HyperText Markup Language) is the standard language for creating web pages.</p>
</body>
</html>

Why it works

The prompt is structured, specific, and lists requirements as a checklist.

Common Mistakes

  • Not specifying HTML5 — AI may use HTML4
  • Vague instructions like "make a page"
  • Missing the DOCTYPE requirement

Verification Checklist

  • Has <!DOCTYPE html>
  • Has <html>, <head>, <body> tags
  • Title is in <head>
  • Content is in <body>
  • Valid HTML5 syntax

Follow-up Prompts

  1. Add a navigation menu
  2. Include CSS styling
  3. Add an image
02

AI உடன் HTML உறுப்புகளைப் புரிந்துகொள்ளுதல்

easyexplain

HTML குறியீட்டை ஒட்டவும், ஒவ்வொரு உறுப்பும் என்ன செய்கிறது என்பதை AI-க்கு விளக்கச் சொல்லுங்கள்.

You will learn
AI-ஐ எடுத்துக்காட்டுகளுடன் குறியீட்டை தெளிவாக விளக்கச் சொல்லக் கற்றுக்கொள்ளுங்கள்.
Prompt
Try with AI
இந்த HTML குறியீட்டை எனக்கு விளக்குங்கள். ஒவ்வொரு உறுப்பையும் பிரித்து அது என்ன செய்கிறது என்பதை விவரிக்கவும்:

This prompt works because it asks AI to break down each element, explain its purpose, and list attributes.

Expected Output

A clear, element-by-element breakdown of the HTML code with explanations.

Example Output

AI would explain: <div> is a container, <header> is the page header, <nav> contains navigation links, <main> holds primary content, <article> represents a self-contained post.

Why it works

The prompt includes the actual code to explain and asks for a structured breakdown.

Common Mistakes

  • Asking "what is HTML?" without providing code
  • Not specifying what aspects to explain

Verification Checklist

  • AI explains each element
  • Explanations are clear
  • Attributes are mentioned
  • Context is explained

Follow-up Prompts

  1. How do I make this responsive?
  2. What CSS would style this?
03

AI உடன் HTML பிழைகளை நீக்குங்கள்

mediumdebug

AI-க்கு உடைந்த HTML குறியீடு மற்றும் பிழை விளக்கத்தை வழங்கவும், பின்னர் சிக்கலைக் கண்டுபிடித்து சரிசெய்யச் சொல்லுங்கள்.

You will learn
AI-ஐ திறம்பட HTML பிழைதிருத்தம் செய்ய போதுமான சூழலை வழங்கக் கற்றுக்கொள்ளுங்கள்.
Prompt
Try with AI
எனது HTML பக்கம் சரியாகக் காட்டப்படவில்லை. படம் உடைந்துள்ளது மற்றும் இணைப்பு வேலை செய்யவில்லை.

This debug prompt works well because it provides: the actual code, a description of what's wrong, and specific symptoms. AI can match symptoms to common causes.

Expected Output

AI identifies: missing alt attribute on img, and missing https:// in the href. Provides corrected code.

Example Output

<img src="photo.jpg" alt="My Photo">
<a href="https://www.google.com">Search</a>

Why it works

Providing both the code AND the observed symptoms gives AI maximum context to diagnose the issue.

Common Mistakes

  • Saying "my code is broken" without showing the code
  • Not describing what "broken" means
  • Not providing error messages

Verification Checklist

  • AI identifies both errors
  • Corrected code is provided
  • Explanations for each fix
  • Code is valid HTML5

Follow-up Prompts

  1. How do I add more images?
  2. How do I create a navigation bar?