Sefaria-Export icon indicating copy to clipboard operation
Sefaria-Export copied to clipboard

Meaning of HTML in the merged.json files?

Open lancejpollard opened this issue 2 years ago • 2 comments

What is the meaning of <big> and stuff like <i data-overlay=\"Vilna Pages\" data-value=\"1a\"></i>?

Screenshot 2023-10-13 at 10 40 45 PM

lancejpollard avatar Oct 14 '23 05:10 lancejpollard

Hey!

The <big> tag in HTML is used to increase the font size of the text enclosed within it, making it stand out from the surrounding text. However, it's worth noting that the <big> tag is obsolete in HTML5, and it's recommended to use CSS for adjusting text size for better web standards compliance.

As for the <i> tag with data-overlay and data-value attributes, the <i> tag is typically used to italicize text, but it's often used for icons in modern web design (like with font-awesome). The data-* attributes are custom attributes that developers use to store extra information that doesn't have any visual representation but can be used by scripts. In this context, "Vilna Pages" likely refers to a specific dataset or reference, and "1a" could be an identifier for a part of this dataset.

If you need any assistance updating these to CSS or further clarifying their functions, I'm here to help!

Best, Avner Rubinov

arubi9 avatar Dec 14 '23 21:12 arubi9