add closing / with <img> , using regex [closed] - html

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
<img src="images/btn_studyroom.gif" border="0">
I'm asp programmer. I need to change all sites for web accessibility .
I want change <img> tag
example
<img~~~> to <img~~~/>
How to add /> using regex?

At first, the slash before the > is not "more accessible" but xhtml strict compliant.
I'm not an asp expert, but you can try this kind of thing:
String newText = Regex.Replace(inputString, #"(<img[^>]+)(?<!/)(?=>)", "\1/");

Related

Is there a way to insert html tags with css? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
I know it is not a good practice, but when somebody bans tags in html you have to find a solution.
So, is there a way to include in html via css the
<script>
tag? Maybe with :after and content:"" ?
Thanks!
No, you can't do that. CSS is for styling, your best bet is Javascript.

Change title in header [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
hey guys i have some problems.
I boughta finished template from ego studios . The problem that i have is that i cant change the title. At the title secetion in the head should be Guido Neuhaus, and it is written there but it wont change, there is alway ego stuidos.
could someone take a look at it. Is there any script which blocks it or something like that ?
<head><title>Guido Neuhaus</title></head>
i dont know what to do.
my website
it's in your javascript file: http://guido-neuhaus.de/js/onepage.js
document.title = 'Ego Studios' + ( targetSection.replace( /[_\-\#\!\.\/]/g, ' ' ));

Is there a "target=_blank" alternative in css? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is there a target=_blank alternative in CSS?
i want target="_blank" using CSS.. if it possible please help me....
This is not a css property, so you won't find a css equivalent.
It's a behavioral attribute, similar to click
You can target these elements and select them using java script though and apply whatever style you need.

IE8 Some html is missing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have an issue in IE8. Some part of my html and some script tags are not displaying on page and not in firebug. I do not know why this issue occur but same page is displaying perfect in IE9. Thanks in advance.
It sounds like a tag opening/closing issue, I suggest you try and validate your html on http://validator.w3.org/

Is HTML allowed in objects description? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
Is it possible to use HTML tags in objects description, like links? I am trying to post a link on the wall with my app but it skips HTML stuff.
With regard to your question - no. You can't use HTML tags at all when posting data to Facebook.