برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام<!DOCTYPE html> <html lang="en"> <head> <style> div:has(p) { background-color: red;} </style> </head> /********************************/ <body> <div> <p>hello</p> </div> <div> <b>bold</b> </div> <div> <p>hello</p> <p>hello</p> </div> </body> </html>
<!DOCTYPE html> <html dir="rtl"> <head> <meta charset="UTF-8"> <meta name="viewport"content="width=device.width, initial-scale=1.0"> <title> pسلکت تگ های </title> </head> <style> div:has(p) { background-color: red; } </style> <body> <div> <p>hello</p> </div> <div> <b>bold</b> </div> <div> <p>hello</p> <p>hello</p> </div> </body> </html>
<!DOCTYPE html> <html lang="en";> <head> <meta charset="UTF-8"> <meta name="viewport " content="width=device-width,intial-scale=1.0"> <title> box</title> <style> div>p{ background-color: red; } div{ background-color: aqua; } </style> </head> <body> <div > <p>dfghjk</p> </div> <div> cfghjkl</div> </body> </html>
div:has(p) { background-color: red; }
Submitting answers is currently unavailable.
Write a program that receives a rectangular length and width from the input and prints its area in the output
Build a table with HTML to show the following information: Name, Score, Hassan Hassani 17.25 Afforded Mohammadi Mohammed Hassani 13 Accept Mohammad Rezaei 9 Receives 19 Mardi Milad Mohammadi 12 ...
Write a program that receives a text and a word from the user, search the word in the text, and as the example below and then put the word * and print the text in the output. Example: Input1: Hello. My name is hooshang. I ...
Write a library program that has the following features: 1- The user can register a new book 2- The user can delete recorded books 3- The user can change the specifications of the books including their name and subject ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.