STEP 1 · LEARN How it works Declare Romanian and left-to-right direction on html. Semantic structure should describe meaning, not visual appearance.
<!doctype html>
<html lang="ro" dir="ltr">
<head><title>Bun venit</title></head>
<body><h1>Bun venit</h1></body>
</html>lang="ro" declares Romanian as the document’s primary language and helps technologies such as speech synthesis and translation. dir="ltr" declares the left-to-right base direction. On html, both apply to the whole document.
<html lang="" dir=""><body><h1>Bun venit</h1></body></html>The attributes are present, but empty values identify neither the document language nor its direction.
EXPECTED RESULT An html element with lang="ro" and dir="ltr", while body keeps a visible h1.
STEP 2 · APPLY Your exercise Repair the example without changing its purpose. Declare Romanian and left-to-right direction on html.
Code Result
index.html HTML
Exercise code
STEP 4 · CHECK
What needs to pass 0% not checked
○ html has lang="ro" and dir="ltr". ○ The document keeps a visible heading.
Check exercise✓ Show a hint
Explain the solution logic+ Complete the opening tag as <html lang="ro" dir="ltr"> and do not remove the h1 from body.