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.

feel like starting again

Featured Replies

Hi

 

I had my webste all sorted out for my assignment. I just read something maybe I should have noticec a while ago!

My website was HTML 4.0 and i've now had to change it to XHTML 1.0.. this has caused me 37 errors all of which I have to sort out for my assignment. Problem is, i dont even know where t start because i have no idea what half of them are!

 

 

 

Ive tried changing them but its messed it up more lol.

 

Can anyone help? x

 

Update:

 

Ive sorted some of the HTML out and got it down to 13 errors! phewwwf!

Hi

 

I had my webste all sorted out for my assignment. I just read something maybe I should have noticec a while ago!

My website was HTML 4.0 and i've now had to change it to XHTML 1.0.. this has caused me 37 errors all of which I have to sort out for my assignment. Problem is, i dont even know where t start because i have no idea what half of them are!

 

validator results

 

Ive tried changing them but its messed it up more lol.

 

Can anyone help? x

back up your old page and try this

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />

<title>Leanne Orr's Personal Website</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="practice.css" rel="stylesheet" type="text/css" />

</head>

<body>

<div id="container">

<div id="top">

<h1>Leanne Orr</h1>

</div>

<div id="submenu">

<div id="menuh"><a href="http://www.numyspace.co.uk/%7Eunn_t005763/" class="top_parent">Homepage</a> <a href="http://www.numyspace.co.uk/%7Eunn_t005763/about.html" class="top_parent">About me</a> <a href="http://www.numyspace.co.uk/%7Eunn_t005763/achievements.html" class="top_parent">Achievements</a> <a href="http://www.numyspace.co.uk/%7Eunn_t005763/myvideos.html" class="top_parent">My videos</a></div>

</div>

<div id="leftnav"><img src="http://www.numyspace.co.uk/~unn_t005763/images/leanneandfriends.jpg" alt="leanne and friends" /></div>

<div id="content">

<h2>Welcome to my personal website</h2>

<p>I have created this personal website for an assignment I have been given under one of my modules at University.<br />

This website details my life, and it also contains an extra page on a knowledgeable subject that I have studying and added as part of my assignment.<br />

<br />

Here I will showcase my interests, hobbies, photographs and videos. All of the images and videos on this website have been taken by me.<br />

<br />

I hope that you enjoy viewing this website.<br />

Thanks<br />

Leanne</p>

</div>

<div id="footer">

<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88" /></a></p>

</div>

</div>

</body>

</html>

 

 

on the validator you will see the tidy up check box this will clean your html up your doc type is set to strict in the html above

 

hope this helps

  • Author

Hey, i've just tried this and it passed! But it has to be transitional :( sorry i didnt mention it in my first post x

Strict will pass as transitional, just swap the doctype.

 

Transitional is just a more relaxed version of strict.

 

It's html and xhtml that have there differences, mainly the self closing elements />

 

So change

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

 

To this

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

And it should be fine (:

I would take out the references to

 

<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />

 

and

 

<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88" /></a></p>

 

Your lecturer might object to the use of HTML tidy, having expected you to do the coding.

 

p.s. please let us know what mark we got for our assignment ;):D

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.