برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام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 gets distance to meters and converts to kilometers and shows at the output tips: each km = 1000 m
1- The system randomly selects a number between 1 and 100 2- The user tries to guess the selected number 3- After each user guess, if the number entered is correct, the program will end. Otherwise the schedule ...
Write a program that has a graphical environment and can perform the sum, subtraction, multiplication and division operations on the infinite number. (Exactly like a real calculator)
Write a program that prints each student's name according to the list below, and as much as his / her name, the star of his name prints the question. Try to use the nested rings Amir 5hooshang 7rez ...
Write a program that receives a number from the input and increases the number 2 and prints in the output. This trend continues until the number 0 is not arrived
Write a function that receives a string and converts Persian numbers into English numbers
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.