Output formatters in Beautiful Soup
HTML entities are code that can be placed in an HTML file to represent special characters or symbols. These symbols are not generally present on the keyboard, and HTML entities are special code that render them when opened in a browser. For example, consider the following HTML:
<html> <body> <table> <tr> <th bgcolor="#ffffff">Symbols</th> <th bgcolor="#ffffff">Html Entity</th> <th bgcolor="#ffffff">Meaning</th> </tr> <tr> <th>&</th> <td align="center">&amp;</td> <td align="center">ampersand</td> </tr> <tr> <th>¢</th> <td align="center">&cent;</td> <td align="center">cent</td> </tr> <tr> <th>©</th> ...