برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نامdiv > span { color: red; }
<!DOCTYPE html>
<html>
<head>
<style>
div > span{
color:red;
}
</style>
</head>
<body>
<div>
<span>
yes
</span>
<p>
no
</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>span تگ </title> <style> div > span { color: red; } </style> </head> <body> <div><span>This text will be red.</span> <div> </div><span>This text will also be red.</span> </div> <span>This text will not be red.</span> </body> </html>
div > span { color: red; # Change the color of the text to the red }
<!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>span{ background-color: red; } div{ background-color: aqua; } </style> </head> <body> <div > <span>ghjkl</span> </div> <div> cfghjkl</div> </body> </html>
Submitting answers is currently unavailable.
Write a program that receives the user's name, age and city and print on output
Write a program that gets distance to meters and converts to kilometers and shows at the output tips: each km = 1000 m
Design a form that receives the following information using the best elements from the user and to the register page/ by posting the Post Family Subscribe of Mobile Birthday Country
Write a program that receives a number from the user and converts to letters suppose the numbers entered between 0 and 1000000 23 ➞ Twenty Three 405 ➞ Four HundredR
Write a program that receives a solar date from the input (in the format of yyyy/mm/dd). Then convert the date to AD and print in the output
Parking Management Program Write: When arriving, arrival time and car license plate number stored when exit, exit time save for the desired car at any moment (in the parking lot, exit) and other information ...
Write a program that obtained a person's / BMI body / BMI formula and, according to the information below, shows the status of the person BMI = w / h * h formula = weight divided by second power BMI ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.