Chapter 010mAI Lab

HTML Introduction — AI Lab

HTML କ’ଣ, HTML Elements କିପରି କାମ କରେ ଏବଂ ସରଳ ଉଦାହରଣ ଓ ଅଭ୍ୟାସ ମାଧ୍ୟମରେ ଆପଣଙ୍କର ପ୍ରଥମ HTML Document କିପରି ତିଆରି କରିବେ, ତାହା ଶିଖନ୍ତୁ।

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 ଦଲିଲ ସୃଷ୍ଟି କରନ୍ତୁ। ସମ୍ପୂର୍ଣ୍ଣ 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?