Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Thymeleaf as the templet engine.
I have a html which contains attribute th:utext


HTML
<div  th:utext="*{categoryBannarPageEnrty.value}"></div> with values as html tags as 
    <p id="logo"><img src="./cmsstatic/main_soho_logo01.jpg"/></p>
    <p id="title"><img src="./cmsstatic/main_soho_title01.jpg" /></p>
    <p id="text">Some text</p>
    <p id="link"><a href="/">Shop</a></p>



VB
and accordingly being displayed on UI.
Now how can i assign the p tag with "logo" id to the th:utext as i
do not want the other things to be displayed on my UI.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900