Unix and Linux Discussions Tagged with html |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
3,531 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
8,501 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
13,111 |
Shell Programming and Scripting |
|
|
|
2 |
2,668 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,252 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
3,435 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
11,963 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,673 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
5,695 |
Programming |
|
|
|
6 |
3,374 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,853 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,644 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,860 |
UNIX for Beginners Questions & Answers |
|
|
|
25 |
14,539 |
Web Development |
|
|
|
1 |
1,946 |
Shell Programming and Scripting |
|
|
|
1 |
10,954 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,431 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
10,044 |
Web Development |
|
|
|
3 |
1,710 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
8,490 |
UNIX for Beginners Questions & Answers |
|
|
|
48 |
18,264 |
Web Development |
|
|
|
7 |
1,812 |
What is on Your Mind? |
|
|
|
2 |
3,105 |
What is on Your Mind? |
|
|
|
3 |
2,295 |
UNIX for Advanced & Expert Users |
|
|
|
10 |
3,125 |
Shell Programming and Scripting |
|
|
|
7 |
6,849 |
Shell Programming and Scripting |
|
|
|
5 |
2,213 |
Shell Programming and Scripting |
|
|
|
2 |
2,262 |
Shell Programming and Scripting |
|
|
|
2 |
4,122 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,780 |
Shell Programming and Scripting |
|
|
|
20 |
4,562 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
3,566 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
14,680 |
Shell Programming and Scripting |
|
|
|
8 |
25,224 |
Shell Programming and Scripting |
|
|
|
0 |
2,803 |
Shell Programming and Scripting |
|
|
|
2 |
14,155 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,867 |
Shell Programming and Scripting |
|
|
|
1 |
5,405 |
Shell Programming and Scripting |
|
|
|
1 |
3,045 |
Programming |
|
|
|
1 |
3,203 |
Programming |
TIDY.HTML(3) 1 TIDY.HTML(3)
tidy::html - Returns atidyNodeobject starting from the <html> tag of the tidy parse tree
Object oriented style
SYNOPSIS
tidyNode tidy::html (void )
DESCRIPTION
Procedural style
tidyNode tidy_get_html (tidy $object)
Returns a tidyNode object starting from the <html> tag of the tidy parse tree.
PARAMETERS
o $object
- The Tidy object.
RETURN VALUES
Returns the tidyNode object.
EXAMPLES
Example #1
tidy.html(3) example
<?php
$html = '
<html>
<head>
<title>test</title>
</head>
<body>
<p>paragraph</p>
</body>
</html>';
$tidy = tidy_parse_string($html);
$html = $tidy->html();
echo $html->value;
?>
The above example will output:
<html>
<head>
<title>test</title>
</head>
<body>
<p>paragraph</p>
</body>
</html>
NOTES
Note
This function is only available with Zend Engine 2 (PHP >= 5.0.0).
SEE ALSO
tidy.body(3), tidy.head(3).
PHP Documentation Group TIDY.HTML(3)