Hello.
I have a html document and I want to delete all the divs of certain class (with all the content). What is the simplest way to do it?
Thank you for your help.
Hi, I have an ASCII String, with HTML entities, like:
à
¨
ç
I need this String to be without those entities and convert them into UTF-8 chars.
Is there any easy way, in java to do that?
Where:
Clazz.method("aà","UTF-8")
returns "aà"
or something like that?
I'm using latex commands in my html code. When I validate the at w3c validator, it is giving me inavlid markup message.
Line 105, Column 31: non SGML character number 12
\begin{equation}(x^{2})^{4+(frac{1}{5})}\end{equation}
Is there a way to pass validation? Can I ignore this error?
This might have been asked in another way. I am not doing it on the fly however. Once in a while we get pieces of content in word files that have em dashes, bold, italic text and block quotes. Is there a good tool to convert this into a clean html code.
Otherwise what other approaches people take.
Example of what I want to have on my page:
To make an title to your website insert <title> and end with </title>. If you want to use a div box then type <div> and end with </div> ..
As you can see, I don't want it to interpret the html, but display it.
I'm trying to figure out where to put some code in an email. You know how you can get newsletters with styling and images, etc? I wanted to send some out but I cant figure out where to put the code. Do you add the images as attachments? Do you put the code in the body?
or should you upload the .html file as well?
I use this regex on some input,
[^a-zA-Z0-9@#]
However this ends up removing lots of html special characters within the input, such as
227;, #1606;, #1588; (i had to remove the & prefix so that it wouldn't show up as the actual value..)
is there a way that I can convert them to their values so that it will satisfy the regexp expression? I also have no idea why the text decided to be so big.
I have an HTML textarea:
<textarea>
Some text
Another text in another line
BOOM
Hello there.
</textarea>
I want to be able to vertically scroll to the word BOOM so that it is visible (it doesn't matter on which line it appears).
Is this possible?
I understand that an id must be unique within an HTML/XHTML page.
My question is, for a given element, can I assign multiple ids to it?
<div id="nested_element_123 task_123"></div>
I realize I have an easy solution with simply using a class. I'm just curious about using ids in this manner.
Hi,
I found Facelift which can basically generate html headings as images (with "nice font") on the fly. Does something similar exist for Java (couldn't find one myself)?
Cheers,
stephanos
hi all,
I am new to HTML 4 validations, in that if I put HEAD runat="server" tag
I am getting this error - Error Line 6, Column 82: character data is not allowed here
…lesheet" type="text/css" media="all" /
In the head tag I have called css files.
So if any one know about thin can help me,how to solve this error?
Thanks in advance. and sorry for my bad english...
Hi,
I have an HTML page, and I would like to import data from a database. Will it be possible to do it without using a programing language such as Java, .NET, PHP etc?
thanks
Hi,
I'm curious what are some effects/downside of not putting an index.html file to your directories (e.g images). I know when an index file is not present to a directory, files inside that directory are no longer private and will be visible to the browsers when point (eg yoursite.com/images/). Aside from that what are some big effects to consider? and how to properly secure them.
thanks!
In my db I have saved every links in the form:
www.example.com or http://www.example.com
Is there a way to turn this text links into HTML links at the client side ( e.g. javascript ) with tag and parameter like this ?:
<a href="http://www.example.com" rel="nofollow">www.example.com</a>
Hi, I have heard a lot of different terms to describe the process of turning a website design into a editable CMS. Currently I take the design and "slice" this up into HTML and CSS then I "plug" this into a CMS. I would class this as frontend development depending on the level of customisation required for the CMS.
The reason I ask is I am currently writing up my CV and have become stuck on the correct term for this.
Kind Regards
I'm trying to display an html source ( without interpretation ) and I'd like all the nodes to be selectable (p, div, etc..). Something like in firebug where if I click on a node I can get it's properties. Does anybody have an idea how to do that or where to start ?
I have multiple pages being pulled together into a single page. Some of these individual pages have their own html, head, and body elements. Is it detrimental to the performance of the page to have these? It seems that the DOM is correct (only has a single of each element) in FireBug.
Hi!
I have a workflow model.
Internet Explorer doesn't support some features required for model editing functionality
(and regular user doesn't need it).
I want a read-only preview of my model.
Is it possible to server-side render my html to image?
Hi,
What is your opinion about using non valid attributes on html elements for easier jQuery selectors etc ?
Eg.
<div name="myDiv"></div>
According to Visual Studio the name attribute is not valid for a div element.