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, 2022 in HTML by Shalini
• 120 points
329 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, 2022 in HTML by Tejashwini
• 3,820 points
324 views
0 votes
0 answers

Adding a favicon to a static HTML page

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

Jun 8, 2022 in HTML by Ashwini
• 5,430 points
367 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, 2022 in HTML by Ashwini
• 5,430 points
632 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, 2022 in HTML by Deepak
• 980 points
616 views
0 votes
0 answers

Laravel 5 Class 'Collective\Html\HtmlServiceProvider' not found on AWS

I'm aware that there are several other ...READ MORE

Aug 17, 2022 in HTML by Deepak
• 980 points
962 views
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,880 points
1,519 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
10,420 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,250 points
2,807 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,360 points
860 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 3,530 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP