Web development in India >> Tag Retrieval SEO Tool
Content Tag Retrieval
This Tag Retrieval Tool will grab all the tags which contains the information from a web page and list them in a ordered manner.
Content properties";
// get h1 tags
if($h1[1] != 0){
echo " H1 Tags found: $h1[1]";
foreach($h1[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else{
echo "
No H1 Tags found ";
}
// get h2 tags
if($h2[1] != 0){
echo " H2 Tags found: $h2[1]";
foreach($h2[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else{
echo "
No H2 Tags found ";
}
// get h3 tags
if($h3[1] != 0){
echo " H3 Tags found: $h3[1]";
foreach($h3[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else{
echo "
No H3 Tags found ";
}
// get h4 tags
if($h4[1] != 0){
echo " H4 Tags found: $h4[1]";
foreach($h4[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else{
echo "
No H4 Tags found ";
}
// get h5 tags
if($h5[1] != 0){
echo " H5 Tags found: $h5[1]";
foreach($h5[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else{
echo "
No H5 Tags found ";
}
// get h6 tags
if($h6[1] != 0){
echo " H6 Tags found: $h6[1]";
foreach($h6[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else{
echo "
No H6 Tags found ";
}
// get p tags
if($p[1] != 0)
{
echo " p Tags found: $p[1]";
foreach($p[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else
{
echo "
No p Tags found ";
}
// get a tags
if($a[1] != 0)
{
echo " a Tags found: $a[1]";
foreach($a[0] as $key => $val){
echo "- " . htmlentities($val) . "
";
}
echo " ";
}else
{
echo "
No a Tags found ";
}
}
?>
|