Jump to content
Larry Ullman's Book Forums

Recommended Posts

In going through this particular edition the HTML pages are supposed to be created with

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

Do I have to input these particular HTML tags - or can they be safely replaced just with <!DOCTYPE HTML><meta http-equiv="content-type" content="text/html; charset=utf-8" />?


Thank you.


Link to post
Share on other sites

Hey! Thanks for the question. In the fourth edition of the book, I was using XHTML syntax, but you can use HTML5 instead, if you'd rather. You'd want to consistently use HTML5, though (e.g., your META tag would not be syntactically correct). You can see some examples of the scripts converted to HTML5 here, for the 5th edition:



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...