code: public SimpleHTMLTag setProperties(Map<String, String> properties) {
          if (properties == null || properties.isEmpty()) {
              this.properties = null;
          } else {
              this.properties = new HashMap<>();
  
              for (Entry<String, String> entry : properties.entrySet()) {
                  String key = entry.getKey();
                  key = UniformUtils.checkPropertyNameAndLowerCase(key);
  
                  this.properties.put(key, entry.getValue());
              }
          }
  
          return this;
      }
docs: Replaces all properties of the tag with a map of properties indexed by key.
  
  @param properties New properties
  @return This tag