0

Is there a way to assign or define group within html markup?

1 Answer 1

1

You can use the data tags in HTML.

<a href="#" data-group=""></a>
Sign up to request clarification or add additional context in comments.

3 Comments

I was thinking to use that. Do you know if it works? Anyways I will give a try
Do I just need to assign group name to data-group?? Like data-group="search"
@emphaticsunshine that's exactly what he meant. It's good practice to use data- as a prefix for non-standard/non-existing attributes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.