L
Larry Lindstrom
Hi Folks:
Developing on my Solaris system.
Long ago, in another century, I was a moderately competent HTML
novice.
I'm attempting to get up to speed with the HTML Dog tutorial. When
I'm finished with that I'm planning on moving to W3 School. Any
suggestions for a different approach or recommendations for a tutorial?
I was attempting to get external CSS working. I was happy with my
progress, until I realized that I had a typo in my DOCTYPE statement.
This is the DOCTYPE for the page that has a working CSS:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
The second line starts with an angle bracket where a quote is needed.
The page displays as I would hope the CSS would influence it.
Correcting the DOCTYPE typo seems to cause the CSS to be ignored and
the text to be displayed in the default colors.
W3C Markup Validation Service complains about the invalid "<"
character in the DOCTYPE, of the page that displays properly.
The HTML and the CSS Validation Services seem happy with the page that
ignores the CSS.
Here is the IP address of the page on my server:
http://67.171.145.190/htmldog_htdocs/02_css_beginner_tutorial/01_applying_css/
I hope I'm not opening myself up for an attack by giving out that URL.
I'm sure this is something stupid.
What am I doing wrong?
Thanks
Larry
Developing on my Solaris system.
Long ago, in another century, I was a moderately competent HTML
novice.
I'm attempting to get up to speed with the HTML Dog tutorial. When
I'm finished with that I'm planning on moving to W3 School. Any
suggestions for a different approach or recommendations for a tutorial?
I was attempting to get external CSS working. I was happy with my
progress, until I realized that I had a typo in my DOCTYPE statement.
This is the DOCTYPE for the page that has a working CSS:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
The second line starts with an angle bracket where a quote is needed.
The page displays as I would hope the CSS would influence it.
Correcting the DOCTYPE typo seems to cause the CSS to be ignored and
the text to be displayed in the default colors.
W3C Markup Validation Service complains about the invalid "<"
character in the DOCTYPE, of the page that displays properly.
The HTML and the CSS Validation Services seem happy with the page that
ignores the CSS.
Here is the IP address of the page on my server:
http://67.171.145.190/htmldog_htdocs/02_css_beginner_tutorial/01_applying_css/
I hope I'm not opening myself up for an attack by giving out that URL.
I'm sure this is something stupid.
What am I doing wrong?
Thanks
Larry