It appears that there may be some confusion with your understanding of HTML concepts.
To clarify, the "div" is not a "class", but rather an element within HTML. The div element can have a class attribute associated with it.
Additionally, it is important to use </div>
to close the div element properly, not </class>
.
One potential solution for the issue you are facing is to utilize hidden elements within the div itself. For instance:
<div class="photo">
<span class="hidden" name="parameter1">...</span>
<span class="hidden" name="parameter2">...</span>
<span class="hidden" name="parameter3">...</span>
<span class="hidden" name="parameter4">...</span>
</div>
You can then style these hidden elements using CSS like so:
.hidden {
display: none;
}
Finally, to retrieve the values using jQuery, you can use the following code snippet:
var value = $('div.photo span[name="parameter1"]').html();