Create a basic dialog box that has the statement "This is a dialog box." wrapped inside the p tag. Make it visible on the webpage.
The Dialog tag
Create a dialog
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Create a dialog box</title>
</head>
<body>
...
</body>
</html>
Completed 1 of 3
Create a dialog element.
Add the statement given above inside the dialog tag.
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.