PHP Classes

HTML Count: Count the occurrences of a given HTML tag

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 464 All time: 6,056 This week: 488Up
Version License Categories
html_count 1.0FreewareHTML
Description 

Author

This is a simple class that can be used to search and count the number of occurrences of a given tag in an HTML document.

It searches a document for the HTML tags using a given regular expression. The document can be a file that is available locally or remotely.

The class can output in an HTML list the tags and the number of occurences.

Picture of Mahesh V. More
Name: Mahesh V. More <contact>
Classes: 1 package by
Country: India India

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file example.php Example Example file
Plain text file html_count_class.php Class Class file
Accessible without login Plain text file test.html Data HTML file contains tags which will count by html_count class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:464
This week:0
All time:6,056
This week:488Up
User Comments (2)
Nice step.
12 years ago (dinesh namdev)
55%StarStarStar
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar