No slash at the end of the tab for HTML5 Doctype

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

No slash at the end of the tab for HTML5 Doctype

Postby MaxA » Thu Jun 06, 2013 5:37 pm

Hi

Example:

1. <!DOCTYPE HTML>
Ctrl+Enter = <br>

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

The BR tag for HTML5 Doctype should have slash also or may be I can find this somewhere in options? My tries to find didn't bring me some result.
MaxA
 
Posts: 18
Joined: Tue Aug 28, 2012 5:53 pm

Re: No slash at the end of the tab for HTML5 Doctype

Postby Aivars » Fri Jun 07, 2013 10:20 am

http://dev.w3.org/html5/spec-author-vie ... -start-tag - #6. As you can see, the slash on self-closing tags is optional in HTML5, in fact it was only left in for backwards compatibility with the old XHTML standard.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2456
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron