Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

trouble validating DL

Featured Replies

Could someone explain what's going on here?

 

How come this validates

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<dl>
<dt>term</dt>
<dt>term</dt><dd>definition</dd>
</dl>
</body>
</html>

 

and this doesn't?

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<dl>
<dt>term</dt><dd>definition</dd>
<dt>term</dt>
</dl>
</body>
</html>

 

Thanks so much for your help!!!

A <dt> term must be followed by a <dd> Description

 

but a description can cover more than one term

 

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<dl>
<dt>album1</dt>
<dt>album2</dt><dd>selction of music</dd><!--this descition covers both terms-->
</dl>
</body>
</html>

 

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<dl>
<dt>album1</dt><dd>my music</dd>
<dt>album2</dt><!--no description for this term-->
</dl>
</body>
</html>

hth

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.