Steve Pugh wrote:
drum118 <dr*****@hotmail.com> wrote:
What is the current way for stating what a java script TITLE is for
xhtml strict since I must be over looking it?
There is no title attribute for script in any version of HTML or
XHTML. Check the HTML 4.0 spec if you don't believe me.
W3 validation said there is no title.
Correct.
When I wrote the site 5 years ago to strict xhtml which was validated at
w3 site
Yesterday you said 3 years ago.. ;-)
Anyway, no it could not have validated then, this has not changed
since <script> was first introduced in HTML 4.0, back in 1997.
it was like this as well for Bobby:
Bobby doesn't check the validity of the code and hence is irrelevant.
<script type="text/javascript" src="pages/js/today.js" title="Today
Date">
</script>
What do you expect a browser to do with that title? If you told us
that we might be able to tell you the best way to achieve it.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
The site was last up dated 3 years ago and the site was built 7 years ago
with JS been 5 yrs ago.
First one will tell what the current day is. The 2nd one will tell when the
page was last sent to the server. This is on every page.
The person reading the text will understand it.
Like I said, I have not try my hand at web design for 3 years and just
getting back into it. I just cannot find what I have to do for Title and that
is why I am asking the question.
As for my other question, all </p>, <br />, and so on closing brackets are
there. Just ran the page again today and only spits out title="Today Date"
and said nothing about the other JS. So, it have to be the validator that
miss read it the first time.
Thanks