CSS attribute selector with url [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 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).

Related

Not showing the image of img tag [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 1 year ago.
Improve this question
I have a image tag on html code. which is used to generate a pdf. particular image for the image tag is taking from the server. but it is not showing the image. followings code is img tag what I have tried.
<img class="characteristics-image" src="https:://translate.orivet.com/images/last-page-2.png">
What is the wrong with this?
"https:://sales.com/images/img.png" is not a valid URL.
You meant "https://sales.com/images/img.png".

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

Why am I failing to use a font-family I've downloaded? [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
The .html I’m editing is ‘thrway2.html’.
This is taking place in a style tag in my .html.
The problem was I was using smart quotes around “fonts/Ahem.ttf”.

CSS will not read class names contained in quotes [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 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

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