8
Reply

read HTML tag text

darma teja

darma teja

May 6 2013 5:55 AM
1.1k
Hi All,

I would like to get the following output from htm ot html files:

1. MY WEBSITE (Means to get text between TITLE tags)
2. left (Means to align values of "p" tag)
3. boat.gif (Means to src values of "img" tag)


<!DOCTYPE html>
<html>
<HEAD>
<TITLE>MY WEBSITE</TITLE>
<7HEAD>
<body>
<h1>My First Heading</h1>
<p align="left">My first paragraph.</p>
<img src="boat.gif" alt="Big Boat">
</body>
</html>

Thanks Allot in Advance

Darma

Answers (8)