Adding more than one class html

0 votes

Is it possible to add more than one class in html? Here is what I've tried:

is there any other way to add more class in html?

I tried the below code  

<a href="#" class="class1" class="class2">My Text</a>
Aug 19 in HTML by Shalini
• 120 points
20 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers

What is class in HTML?

what is a class in HTML, I ...READ MORE

Jun 3 in HTML by Tejashwini
• 1,960 points
26 views
0 votes
0 answers

Adding a favicon to a static HTML page

I have a static page that is ...READ MORE

Jun 8 in HTML by Ashwini
• 1,160 points
38 views
0 votes
0 answers

How can I change the line spacing for one paragraph in an HTML email template?

I want to add html commands that ...READ MORE

Jul 24 in HTML by Ashwini
• 1,160 points
63 views
0 votes
1 answer

.htm or .html extension - which one is correct and what is different?

The majority of the time, the number ...READ MORE

answered Aug 4 in HTML by Deepak
• 940 points
36 views
0 votes
0 answers
0 votes
1 answer

What is Html Web storage

With web storage, web applications can store ...READ MORE

answered Jan 31, 2020 in HTML by Niroj
• 82,780 points
808 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
5,021 views
0 votes
1 answer

Using/Handling colon inside a JSF generated HTML element ID in CSS selector

Yes, you can.  Just Backslash (\) the colon.  Like ...READ MORE

answered Nov 14, 2018 in Others by DataKing99
• 8,240 points
1,730 views
0 votes
1 answer

What is a css selector and where is it used?

CSS Selector is a combination of element ...READ MORE

answered Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
295 views
0 votes
1 answer

What is the difference between span and div?

The div should be used to wrap sections of ...READ MORE

answered Jan 16, 2020 in Web Development by Niraj

edited Jan 21, 2020 by Niroj 2,368 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP