Answer:
Web development is the process of creating websites and web applications. It involves using various programming languages and tools to design, build, and maintain websites.
ویب ڈویلپمنٹ ویب سائٹس اور ویب ایپلیکیشنز بنانے کا عمل ہے۔ اس میں ویب سائٹس کو ڈیزائن کرنے، بنانے اور برقرار رکھنے کے لیے مختلف پروگرامنگ زبانوں اور ٹولز کا استعمال شامل ہے۔
Answer:
Front-end Development focuses on what users see and interact with on a website. Back-end Development manages the behind-the-scenes part of a website, like servers, databases, and application logic.
Front-end Development ویب سائٹ پر وہ چیزیں جو صارفین دیکھتے اور استعمال کرتے ہیں، ان پر مرکوز ہوتا ہے۔ Back-end Development ویب سائٹ کے پس منظر میں موجود چیزوں کو سنبھالتا ہے، جیسے سرورز، ڈیٹا بیسز، اور ایپلیکیشن کی منطق۔
Answer:
Debugging is the process of finding and fixing issues in your code.
ڈی بگنگ آپ کے کوڈ میں مسائل کو تلاش کرنے اور انہیں ٹھیک کرنے کا عمل ہے۔
Answer:
HTML stands for Hyper Text Markup Language. It is the standard language used to create web pages. Think of HTML as the building blocks of a website.
HTML کا مطلب ہے ہائپر ٹیکسٹ مارک اپ لینگویج۔ یہ وہ معیاری زبان ہے جو ویب صفحات بنانے کے لیے استعمال ہوتی ہے۔ HTML کو ویب سائٹ کے بنیادی اجزاء کے طور پر سمجھا جا سکتا ہے۔
Answer:
Content in HTML is the main information on a web page that users read and interact with.
HTML میں مواد ویب صفحہ کی وہ اہم معلومات ہوتی ہیں جسے صارفین پڑھتے اور اس کے ساتھ تعامل کرتے ہیں۔
Answer:
Headings in HTML, ranging from <h1> to <h6>, are used to define the structure and hierarchy of content on a web page.
HTML میں ہیڈنگز، <h1> سے <h6> تک، ویب پیج پر مواد کی ساخت اور درجہ بندی کو بیان کرنے کے لیے استعمال ہوتی ہیں۔
Answer:
Paragraphs in HTML are used to organize and separate text into readable sections. Links in HTML are used to connect one web page to another. They allow you to click on words or images to go to different parts of the same page or to other pages on the internet.
ایچ ٹی ایم ایل میں پیراگرافز متن کو قابلِ مطالعہ حصوں میں منظم اور الگ کرنے کے لیے استعمال ہوتے ہیں۔ لنکس ایک ویب صفحہ کو دوسرے سے جوڑنے کے لیے استعمال ہوتے ہیں۔ یہ آپ کو ایک ہی صفحے کے مختلف حصوں یا انٹرنیٹ کے دیگر صفحات پر جانے کے لیے الفاظ یا تصاویر پر کلک کرنے کی اجازت دیتے ہیں۔
Answer:
In HTML, comments are used to insert notes or explanations within the code.
HTML میں، تبصروں کا استعمال کوڈ کے اندر نوٹس یا وضاحتیں داخل کرنے کے لیے کیا جاتا ہے۔
Answer:
Ordered List: In an ordered list all the items of the list start with a number and the numbers are in ascending order. The <ol></ol> tags are used for creating an ordered list and each item of the list is surrounded with <li></li> tags. Unordered List: In an unordered list each item of the list generally starts with a bullet. Unordered means the list items are not having a number. The <ul></ul> tags are used for creating an unordered lists and each item of the list is surrounded with <li></li> tags.
اُرڈرڈ لسٹ (Ordered List): ایک اُرڈرڈ لسٹ میں لسٹ کی تمام اشیاء ایک نمبر سے شروع ہوتی ہیں اور نمبر چڑھتے ہوئے ترتیب میں ہوتے ہیں۔ اُرڈرڈ لسٹ بنانے کے لیے <ol></ol> ٹیگز استعمال کیے جاتے ہیں اور لسٹ کی ہر شے <li></li> ٹیگز میں بند ہوتی ہے۔ ان-اُرڈرڈ لسٹ (Unordered List): ان-اُرڈرڈ لسٹ میں لسٹ کی ہر شے عام طور پر ایک بلٹ سے شروع ہوتی ہے۔ ان-اُرڈرڈ کا مطلب ہے کہ لسٹ کی اشیاء میں کوئی نمبر نہیں ہوتا۔ ان-اُرڈرڈ لسٹ بنانے کے لیے <ul></ul> ٹیگز استعمال کیے جاتے ہیں اور لسٹ کی ہر شے <li></li> ٹیگز میں بند ہوتی ہے۔
Answer:
Hyperlink is such an icon, graphic, or text in a webpage, when clicked takes you to some other webpage. Hyperlink allow you to go from one page to another page.
Hyperlink ایک ایسا آئیکن، گرافک یا ویب پیج میں موجود متن ہوتا ہے، جب اس پر کلک کیا جائے تو وہ آپ کو کسی دوسرے ویب پیج پر لے جاتا ہے۔ Hyperlink آپ کو ایک صفحے سے دوسرے صفحے پر جانے کی اجازت دیتا ہے۔
Answer:
There are two important terms that you need to understand in the name HTML: Hypertext and Markup Language.
HTML کے نام میں دو اہم اصطلاحات ہیں جنہیں آپ کو سمجھنے کی ضرورت ہے: ہائپر ٹیکسٹ (Hypertext) اور مارک اپ لینگویج (Markup Language)۔
Answer:
Markup is what HTML tags do to the text inside them. A webpage consists of a series of elements which are represented by tags. Example: <p>I am 9 class student</p> Here <p> shows marking of paragraph opening tag and </p> means marking of paragraph closing tag.
مارک اپ وہ ہے جو HTML ٹیگز متن کے اندر کرتے ہیں۔ ایک ویب پیج عناصر کے سلسلے پر مشتمل ہوتا ہے جو ٹیگز کے ذریعے ظاہر ہوتے ہیں۔ مثال: <p>میں 9 کلاس کا طالب علم ہوں</p> یہاں <p> پیراگراف اوپننگ ٹیگ کی مارکنگ دکھاتا ہے اور </p> کا مطلب پیراگراف کلوزنگ ٹیگ کی مارکنگ ہے۔
Answer:
The term Hypertext is used due to the special text in a webpage called hyperlinks. By clicking on these links you can move from one webpage to another. Hyperlinks are used to navigate on the World Wide Web (WWW).
ہائیپر ٹیکسٹ کی اصطلاح ویب صفحے کے اندر مخصوص متن کے استعمال کی وجہ سے استعمال کی جاتی ہے جسے ہائیپر لنکس کہتے ہیں۔ ان لنکس پر کلک کر کے آپ ایک ویب صفحے سے دوسرے ویب صفحے پر جا سکتے ہیں۔ ہائیپر لنکس کا استعمال ورلڈ وائیڈ ویب (WWW) پر نیویگیٹ کرنے کے لیے کیا جاتا ہے۔
Answer:
HTML tags are commands or codes that specifies how a Web page is formatted.
HTML ٹیگز کمانڈز یا کوڈز ہوتے ہیں جو یہ بتاتے ہیں کہ ایک ویب صفحہ کیسے فارمیٹ کیا گیا ہے۔
Answer:
HTML tells the browser how the contents are structured inside a webpage. When you send request to a web server through a web browser to access a webpage, you get HTML as a response from there. The web browser understands the HTML and displays contents of the webpage.
HTML براؤزر کو بتاتا ہے کہ ویب صفحہ کے اندر مواد کیسے ترتیب دیا گیا ہے۔ جب آپ کسی ویب صفحہ تک رسائی حاصل کرنے کے لیے ویب براؤزر کے ذریعے ویب سرور کو درخواست بھیجتے ہیں، تو آپ کو وہاں سے HTML بطور جواب ملتا ہے۔ ویب براؤزر HTML کو سمجھتا ہے اور ویب صفحہ کے مواد کو دکھاتا ہے۔
Answer:
These are the following types of lists in HTML: Unordered list and Ordered list.
HTML میں لسٹ کی مندرجہ ذیل اقسام ہیں: ان آرڈرڈ لسٹ (Unordered list) اور آرڈرڈ لسٹ (Ordered list)۔
Answer:
Hyperlinks are used to navigate on the World Wide Web (WWW). Hyperlink is such an icon, graphic, or text in a webpage, that when clicked takes you to some other webpage. The term Hypertext is used due to the special text in a webpage called hyperlinks.
ہائیپر لنکس کا استعمال ورلڈ وائڈ ویب (WWW) پر نیویگیٹ کرنے کے لیے کیا جاتا ہے۔ ہائیپر لنک ویب پیج میں ایک ایسا آئیکن، گرافک، یا متن ہے، جس پر کلک کرنے سے آپ کسی دوسرے ویب پیج پر چلے جاتے ہیں۔ ہائپر ٹیکسٹ کی اصطلاح ویب پیج میں ایک خاص متن کی وجہ سے استعمال ہوتی ہے جسے ہائیپر لنکس کہتے ہیں۔
Answer:
HTML elements: HTML documents consist of text files that contain HTML elements. HTML elements are defined using HTML tags. HTML tags are surrounded by the two characters < and > and generally they come in pairs, such as <head></head>. Some HTML elements have no content and are called empty elements. Empty elements do not have an end tag, such as <br> element. Element content: The text between these tags is known as element content.
HTML عناصر: HTML دستاویزات ایسے ٹیکسٹ فائلز پر مشتمل ہوتی ہیں جن میں HTML عناصر شامل ہوتے ہیں۔ HTML عناصر HTML ٹیگز کا استعمال کرتے ہوئے متعین کیے جاتے ہیں۔ HTML ٹیگز دو حروف < اور > سے گِھرے ہوتے ہیں اور عام طور پر جوڑوں میں آتے ہیں، جیسے <head></head>۔ کچھ HTML عناصر کا کوئی مواد نہیں ہوتا اور انہیں خالی عناصر کہا جاتا ہے۔ خالی عناصر کا کوئی اختتام ٹیگ نہیں ہوتا، جیسے <br> عنصر۔ عنصری مواد: ان ٹیگز کے درمیان کے ٹیکسٹ کو عنصری مواد کہا جاتا ہے۔
Answer:
To create a webpage, you need a text editor. You can follow these four steps to create your first webpage: 1. Open text editor like Notepad or WordPad, 2. Write some HTML content, 3. Save the HTML Page with extension .htm or .html, 4. In order to view your first webpage, just double click the HTML file and web browser is automatically opened to show your webpage.
ویب پیج بنانے کے لیے، آپ کو ایک ٹیکسٹ ایڈیٹر کی ضرورت ہے۔ آپ اپنے پہلے ویب پیج کو بنانے کے لیے ان چار مراحل پر عمل کر سکتے ہیں: 1. نوٹ پیڈ یا ورڈ پیڈ جیسا ٹیکسٹ ایڈیٹر کھولیں، 2. کچھ HTML مواد لکھیں، 3. HTML پیج کو .htm یا .html ایکسٹینشن کے ساتھ محفوظ کریں، 4. اپنا پہلا ویب پیج دیکھنے کے لیے، بس HTML فائل پر ڈبل کلک کریں اور ویب براؤزر خود بخود آپ کا ویب پیج دکھانے کے لیے کھل جائے گا۔
Answer:
There are two types of tags in an HTML document: Paired Tags and Unpaired Tags.
HTML دستاویز میں دو قسم کے ٹیگز ہوتے ہیں: Paired Tags اور Unpaired Tags۔
Answer:
Paired Tags: Most of the tags in HTML are paired tags. They consist of a start tag, an end tag and contents between them. Syntax: <tagname>Contents</tagname> Example: <p>LAHORE</p> Unpaired Tags: Some tags do not have closing tags and they are called unpaired tags or empty tags. They are simply written as <tagname>. Example: <br> for line break, <hr> to insert a horizontal line.
پیئرڈ ٹیگز: HTML میں زیادہ تر ٹیگز پیئرڈ ٹیگز ہوتے ہیں۔ ان میں ایک سٹارٹ ٹیگ، ایک اینڈ ٹیگ اور ان کے درمیان مواد شامل ہوتا ہے۔ نحو: <tagname> مواد </tagname> مثال: <p> لاہور </p> ان پیئرڈ ٹیگز: کچھ ٹیگز کے کلوزنگ ٹیگز نہیں ہوتے اور انہیں ان پیئرڈ ٹیگز یا ایمپٹی ٹیگز کہا جاتا ہے۔ انہیں صرف <tagname> کے طور پر لکھا جاتا ہے۔ مثال: لائن بریک کے لیے <br>، ایک افقی لائن داخل کرنے کے لیے <hr>۔
Answer:
Attributes are the properties associated with tags. They provide some information with respect to a specific tag. Each attribute is given a value. Generally, a tag with attributes is written as: <tagname attribute1="value" attribute2="value" ...> Example: <p align="center">Content</p> shows the content of a paragraph at center with respect to left and right margins.
ایٹریبیوٹس وہ خصوصیات ہیں جو ٹیگز سے وابستہ ہوتی ہیں۔ وہ کسی خاص ٹیگ کے حوالے سے کچھ معلومات فراہم کرتی ہیں۔ ہر ایٹریبیوٹ کو ایک قیمت دی جاتی ہے۔ عام طور پر، ایٹریبیوٹس والا ٹیگ اس طرح لکھا جاتا ہے: <tagname attribute1="value" attribute2="value" ...> مثال: <p align="center">Content</p> ایک پیراگراف کے مواد کو بائیں اور دائیں مارجن کے حوالے سے مرکز میں دکھاتا ہے۔
Answer:
HTML: The first tag in the html document is <html> that indicates the start of the HTML document. The last tag is </html> indicates that is the end of the HTML document. Syntax: <html></html> Body Section: Anything typed inside the body tags will be displayed in the browser window. The visible part of the HTML document is between <body> and </body>. Syntax: <body></body>
HTML: HTML دستاویز میں پہلا ٹیگ <html> ہوتا ہے جو HTML دستاویز کا آغاز ظاہر کرتا ہے۔ آخری ٹیگ </html> ہے جو ظاہر کرتا ہے کہ یہ HTML دستاویز کا اختتام ہے۔ نحو: <html></html> باڈی سیکشن: باڈی ٹیگز کے اندر جو کچھ بھی لکھا جائے گا وہ براؤزر ونڈو میں ظاہر ہوگا۔ HTML دستاویز کا نظر آنے والا حصہ <body> اور </body> کے درمیان ہوتا ہے۔ نحو: <body></body>
Answer:
Head section typically defines the document title, styles and other information about the whole document. Head section starts with <head> tag and ends with </head>. Syntax: <head></head>
ہیڈ سیکشن عام طور پر دستاویز کا عنوان، اسٹائل اور پورے دستاویز کے بارے میں دیگر معلومات متعین کرتا ہے۔ ہیڈ سیکشن <head> ٹیگ سے شروع ہوتا ہے اور </head> پر ختم ہوتا ہے۔ نحو: <head></head>
Answer:
To specify title of the webpage, you use <title> tag inside <head></head> tags. The text between these tags is used to set the title to the page. It is displayed on the title bar of the Web browser. Syntax: <title></title> Example: <title>First HTML Document</title> will display 'First HTML Document' on the title bar of the Web browser.
ویب صفحہ کا عنوان مخصوص کرنے کے لیے، آپ <head></head> ٹیگز کے اندر <title> ٹیگ استعمال کرتے ہیں۔ ان ٹیگز کے درمیان کا متن صفحہ کا عنوان سیٹ کرنے کے لیے استعمال ہوتا ہے۔ یہ ویب براؤزر کی ٹائٹل بار پر ظاہر ہوتا ہے۔ ترکیب: <title></title> مثال: <title>فرسٹ ایچ ٹی ایم ایل ڈاکومینٹ</title> ویب براؤزر کی ٹائٹل بار پر 'فرسٹ ایچ ٹی ایم ایل ڈاکومینٹ' دکھائے گا۔
Answer:
Creating a Paragraph: The <p> tag marks starting of a paragraph, and </p> tag marks closing of the paragraph. The text inside <p></p> tags is actual contents of the paragraph. Syntax: <p></p> Inserting Line Breaks: The <br> element inserts a line break without starting a new paragraph. Syntax: <br> Example: <p>This is <br> a paragraph</p> displays text in two lines.
پیراگراف بنانا: <p> ٹیگ پیراگراف کے شروع ہونے کی نشاندہی کرتا ہے، اور </p> ٹیگ پیراگراف کے ختم ہونے کی نشاندہی کرتا ہے۔ <p></p> ٹیگز کے اندر کا متن پیراگراف کا اصل مواد ہے۔ ترکیب: <p></p> لائن بریک ڈالنا: <br> ایلیمنٹ نیا پیراگراف شروع کیے بغیر لائن بریک ڈالتا ہے۔ ترکیب: <br> مثال: <p>یہ <br> ایک پیراگراف ہے</p> متن کو دو لائنوں میں دکھاتا ہے۔
Answer:
Inserting Spaces: If the user wants to have many spaces in a HTML document then the character entity must be used. Syntax: Example: <p>I study in 9th class.</p> generates output with spaces. Add Headings/Sub-headings: There are six headings tags, <h1></h1> to <h6></h6>. The <h1></h1> tags are used to specify the largest heading and <h6></h6> tags specify the smallest.
خالی جگہیں داخل کرنا: اگر صارف HTML دستاویز میں بہت سی خالی جگہیں رکھنا چاہتا ہے تو کریکٹر اینٹیٹی کا استعمال کرنا ضروری ہے۔ سینٹکس: مثال: <p>میں نویں جماعت میں پڑھتا ہوں۔</p> خالی جگہوں کے ساتھ آؤٹ پٹ پیدا کرتا ہے۔ ہیڈنگز/سب-ہیڈنگز شامل کرنا: چھ ہیڈنگ ٹیگز ہیں، <h1></h1> سے <h6></h6> تک۔ <h1></h1> ٹیگز سب سے بڑی ہیڈنگ کی وضاحت کے لیے استعمال ہوتے ہیں اور <h6></h6> ٹیگز سب سے چھوٹی ہیڈنگ کی وضاحت کے لیے استعمال ہوتے ہیں۔
Answer:
Text formatting tags are used to format the text in HTML document. Bold the text: These tags will make the text bold that is within the tags. Syntax: <b></b> Example: <b>I LOVE PAKISTAN</b>
Text formatting tags HTML document میں text کو format کرنے کے لیے استعمال ہوتے ہیں۔ Text کو Bold کرنا: یہ tags اس text کو bold کر دیں گے جو tags کے اندر ہوگا۔ Syntax: <b></b> Example: <b>I LOVE PAKISTAN</b>
Answer:
Underline the text: These tags will underline the text that is within the tags. Syntax: <u></u> Example: <u>LOVE PAKISTAN</u> Italic the text: These tags are used to make the text italic that is within the tags. Syntax: <i></i> Example: <i>I LOVE PAKISTAN</i>
متن کو انڈر لائن کرنا: یہ ٹیگز متن کو انڈر لائن کریں گے جو ٹیگز کے اندر ہوگا۔ نحو: <u></u> مثال: <u>LOVE PAKISTAN</u> متن کو اٹالک کرنا: یہ ٹیگز متن کو اٹالک بنانے کے لیے استعمال کیے جاتے ہیں جو ٹیگز کے اندر ہوتا ہے۔ نحو: <i></i> مثال: <i>I LOVE PAKISTAN</i>
Answer:
Font Size: <font size="?"></font> tags are used to change the font size. Replace the ? symbol with a number in the range 1 to 7. 1 is the smallest and 7 is the largest font size. Example: <font size="7">WORLD WIDE WEB</font> Font Color: <font color="?"></font> tags are used to change the color of text that is within the tags. Replace the ? symbol with color such as black, blue, brown, gray, green, maroon, orange, pink, red, white, yellow. Example: <font color="blue">WORLD WIDE WEB</font> Font Face: <font face="?"></font> tags are used to change the font face of text that is within the tags. Replace the ? symbol with font face such as arial, courier, calibri, Times new roman, etc. Example: <font face="arial">WORLD WIDE WEB</font>
Answer:
If for some reason the browser can't display an image, the user can insert the alt attribute in the <img> tag to tell the reader what image is missing in the page. The value of the alt attribute provides alternative text in place of image in the Web page.
اگر کسی وجہ سے براؤزر تصویر دکھانے سے قاصر ہو جائے، تو صارف <img> ٹیگ میں alt attribute داخل کر سکتا ہے تاکہ قاری کو بتایا جا سکے کہ صفحے میں کون سی تصویر غائب ہے۔ alt attribute کی قدر ویب صفحہ میں تصویر کی جگہ متبادل متن فراہم کرتی ہے۔
Answer:
An image can be set as background of a webpage using the background attribute in the <body> tag. Example: <body background="image.jpg">
ایک امیج کو ویب پیج کے بیک گراؤنڈ کے طور پر <body> ٹیگ میں بیک گراؤنڈ ایٹریبیوٹ کا استعمال کر کے سیٹ کیا جا سکتا ہے۔ مثال: <body background="image.jpg">
Answer:
The bgcolor attribute of <body> tag sets the background color of a document and text attribute specifies the foreground text color of the webpage. Example: <body bgcolor="#E6E6FA" text="red"><h1>Hello world!</h1></body>
<body> ٹیگ کا bgcolor ایٹریبیوٹ دستاویز کا پس منظر کا رنگ سیٹ کرتا ہے اور text ایٹریبیوٹ ویب پیج کے اگلے متن کا رنگ مخصوص کرتا ہے۔ مثال: <body bgcolor="#E6E6FA" text="red"><h1>Hello world!</h1></body>
Answer:
<table></table> tags are used for table.
<table></table> ٹیگز ٹیبل کے لیے استعمال ہوتے ہیں۔
Answer:
Metadata is data (information) about data. Metadata will not be displayed on the page, but will be machine parsable.
میٹادیٹا ڈیٹا (معلومات) کے بارے میں ڈیٹا ہے۔ میٹادیٹا صفحہ پر ظاہر نہیں ہوگا، لیکن مشین کے قابلِ تجزیہ ہوگا۔
Answer:
Styling with CSS (Cascading Style Sheets) is essential for enhancing the visual appearance of web pages and improving user experience.
CSS (کاسکیڈنگ اسٹائل شیٹس) کے ساتھ اسٹائلنگ ویب پیجز کی بصری ظاہری شکل کو بڑھانے اور صارف کے تجربے کو بہتر بنانے کے لیے ضروری ہے۔
Answer:
<head>: This section contains meta information about the HTML document like the title.
<head>: یہ سیکشن HTML دستاویز کے بارے میں میٹا معلومات پر مشتمل ہوتا ہے جیسے کہ ٹائٹل۔
Answer:
Ordered List: <ol><li>First item</li><li>Second item</li><li>3rd item</li></ol> Unordered List: <ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul>
آرڈرڈ لسٹ (Ordered List): اس میں اشیاء کو ترتیب وار نمبروں (1, 2, 3) یا حروف (A, B, C) کے ساتھ دکھایا جاتا ہے۔ مثال: <ol><li>پہلی چیز</li><li>دوسری چیز</li></ol>۔ ان آرڈرڈ لسٹ (Unordered List): اس میں اشیاء کو بلٹ پوائنٹس (•, -, *) کے ساتھ دکھایا جاتا ہے اور ان کی کوئی خاص ترتیب نہیں ہوتی۔ مثال: <ul><li>چیز 1</li><li>چیز 2</li></ul>
Answer:
To add comments in CSS follow the method: HTML comments begin with <!-- and end with -->. Any text placed within these markers will be treated as a comment and will not be rendered by the browser. <!-- This is a comment -->
CSS میں تبصرہ (comment) شامل کرنے کے لیے یہ طریقہ کار اختیار کریں: HTML کے تبصرے <!-- سے شروع ہوتے ہیں اور --> پر ختم ہوتے ہیں۔ ان مارکرز کے درمیان رکھا جانے والا کوئی بھی متن تبصرہ (comment) سمجھا جائے گا اور براؤزر اسے رینڈر نہیں کرے گا۔ <!-- یہ ایک تبصرہ ہے -->
Answer:
Applying CSS can be done in three primary ways: Inline Styles, Internal Styles, and External Styles.
CSS کو تین بنیادی طریقوں سے لاگو کیا جا سکتا ہے: ان لائن اسٹائلز (Inline Styles)، انٹرنل اسٹائلز (Internal Styles)، اور ایکسٹرنل اسٹائلز (External Styles)۔
Answer:
There are various ways to include JavaScript in an HTML file. One option is to use inline JavaScript, which embeds JavaScript directly into the event properties of an HTML element, such as onclick or onload.
HTML فائل میں جاوا اسکرپٹ شامل کرنے کے مختلف طریقے ہیں۔ ایک آپشن ان لائن جاوا اسکرپٹ کا استعمال کرنا ہے، جو HTML عنصر کی ایونٹ پراپرٹیز، جیسے onclick یا onload میں جاوا اسکرپٹ کو براہ راست ایمبیڈ کرتی ہے۔
Answer:
Anchor: The <a></a> tag is known as anchor. It is used to create a hyperlink which may be text or image, with the href attribute. The href attribute is used to specify the URL of the linked webpage. Syntax: <a href="url">text to be displayed</a> Examples: <a href="http://www.google.com">Visit www.google.com</a> makes the text a hyperlink. If you click on this text in the webpage, it takes you to the website www.google.com.
Anchor: ٹیگ کو اینکر (anchor) کہا جاتا ہے۔ یہ ہائپر لنک بنانے کے لیے استعمال ہوتا ہے جو کہ متن (text) یا تصویر (image) ہو سکتا ہے، href ایٹریبیوٹ کے ساتھ۔ href ایٹریبیوٹ استعمال کیا جاتا ہے لنک شدہ ویب پیج کا URL بتانے کے لیے۔ سنٹیکس (Syntax): text to be displayed مثالیں (Examples): Visit www.google.com متن کو ہائپر لنک بناتا ہے۔ اگر آپ ویب پیج میں اس متن پر کلک کرتے ہیں، تو یہ آپ کو www.google.com ویب سائٹ پر لے جاتا ہے۔
Answer:
HTML elements like <div> and <section> are used to group content together. You can then use CSS to style and position them. For example: <div class="container"><section class="header">This is the header</section><section class="footer">This is the footer</section></div>
HTML elements جیسے <div> اور <section> مواد کو ایک ساتھ گروپ کرنے کے لیے استعمال ہوتے ہیں۔ اس کے بعد آپ CSS کو انہیں اسٹائل اور پوزیشن کرنے کے لیے استعمال کر سکتے ہیں۔ مثال کے طور پر: <div class="container"><section class="header">یہ ہیڈر ہے</section><section class="footer">یہ فوٹر ہے</section></div>
Answer:
The most efficient method for larger projects is to use an external CSS file which is linked to the HTML document with the <link> tag in the head section. This keeps the HTML clean and allows for easy updates across multiple pages. For Example: <link rel="stylesheet" href="styles.css">
بڑے پروجیکٹس کے لیے سب سے مؤثر طریقہ ایک بیرونی CSS فائل کا استعمال کرنا ہے جو ہیڈ سیکشن میں <link> ٹیگ کے ساتھ HTML دستاویز سے منسلک ہوتی ہے۔ یہ HTML کو صاف رکھتا ہے اور متعدد صفحات پر آسان اپ ڈیٹس کی اجازت دیتا ہے۔ مثال کے طور پر: <link rel="stylesheet" href="styles.css">
Answer:
The CSS box model is used to design that outlines how contents on a webpage are organized and their sizes are determined. Every HTML element can be thought of as a rectangular box, with the box model defining the space around its content.
سی ایس ایس باکس ماڈل کا استعمال ویب صفحہ پر مواد کو کیسے منظم کیا جاتا ہے اور اس کے سائز کا تعین کیسے کیا جاتا ہے، اس کے ڈیزائن کے لیے کیا جاتا ہے۔ ہر ایچ ٹی ایم ایل ایلیمنٹ کو ایک مستطیل باکس کے طور پر سمجھا جا سکتا ہے، جس میں باکس ماڈل اس کے مواد کے ارد گرد جگہ کو بیان کرتا ہے۔
Answer:
JavaScript is a programming language that is used to make websites interactive and engaging.
JavaScript ایک پروگرامنگ لینگویج ہے جو ویب سائٹس کو انٹرایکٹو اور دلکش بنانے کے لیے استعمال ہوتی ہے۔