CSS will not read class names contained in quotes [closed] - html

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
My css sheet is linked from my HTML. Classes are only working in my HTML if I specify them with a space
<p class= task> </p>
If I specify them with a quote
<p class="task" >
weird characters show in the inspector. This is preventing me from using multiple classes. Example
<p class="task green"></p>
will only read the task element and not read the green element.

this problem is only possible when all the styles are used in task so check that once and also check that is this class are in one .css file or are u declaring that class properly or not. just check that u will get your answer

Related

I could not understand what the mistake is? [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
Improve this question
using ID attribute in html code:
I have added the "id attribute" but the challenge is not accepting it. It is saying that you must use the id attribute.
I have already tried other examples instead of [<p] in id attribute but it is not accepting it. but as I have written the code, when I click on working of code (see below) jump to bottom, it take us to the bottom, as it function.
I couldn't find the mistake plz help
Try and use this:
<footer id="footer"></footer>
It says footer tag should have an id named footer.
So, you should put an id="footer" at the footer tag, not the p tag or any other tag.
And you should edit your current footer tag, not make a new one

CSS attribute selector with url [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
Is it valid to use below css:
.myClass[my-url='page.html']
html
<ul class="myClass" my-url="page.html"></ul>
My doubt here is that can we directly use some html page name as a value.
my-url is an actual attribute on element with value of page.html
Yes, that technically works but instead of using my-url you should use data-my-url to make it pass HTML5 validation (if that matters to you at all).

Can you use id and href at the same time? [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I'm obviously a newbie and I'm running into a problem when I'm trying to turn text into a link while also naming it with an id.
I'm currently using:
<p id="you" You</p>
Using google.com to test.
I haven't been able to get the link working though.
I'm trying to ultimately make a button called You where I'll add all the CSS to id="you" but I want the You word to go to a link.
Can I not write it this way? Suggestions?
Your opening paragraph tag is unclosed.
<p id="you">You</p>
Alternatively, if you don't need the block styling the paragraph gives, you can just go with the following.
<a id="you" href="www.google.com">You</a>
Sure: You
You
Do you mean something like this?
Yes, it works just fine.
you

override #media screen rules for a specific div? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Improve this question
so I get a piece HTML from an RSS feed and include it inside a div on my web page, the prob is; the default inline styling for that set of HTML is being overridden by the rules in the #media styling.
Is there a way I can ignore that styling for this div specifically?
Yeah,
Give a class attribute to your divs, then apply a different class or ID to the div you don't want to be styled.

DD tag HTML problem [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
Why effect of DD tag differs in this pages?
[removed]
[removed]
First example also doesn't work in Chrome. Firefox is ok.
I want in node/159 same as in test.htm.
UPDATED: The links removed.
If the goal is to indent the first line of each paragraph then:
Don't use a <dd> element
Do use a <p> element
Do use the CSS text-indent property