Copy link to clipboard
Copied
I created some html files years ago with DW CC6. When creating a new html file, DW CC6 always placed this code at the top of the file.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
More recent versions of DW only place the following code at the top:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
Can I assume that I can replace the older code in the older files, which links to an https site, with the more simple code that the more recent versions of DW place at the top of a newly created html file?
Thank you for any responses.
The HTML 5 Doctype Declaration is much simpler than the old XHTML 1.0 Transitional was.
The more recent version is correct, per html standards, nothing to worry about.
Copy link to clipboard
Copied
The HTML 5 Doctype Declaration is much simpler than the old XHTML 1.0 Transitional was.
The more recent version is correct, per html standards, nothing to worry about.
Copy link to clipboard
Copied
Thank you!
Copy link to clipboard
Copied
Although HTML5 is the current web standard, there might be times when you want another doc type to support deprecated code. Select HTML5, HTML 4 or XHTML 1 from the Doc Type drop-list. See screenshot.