Home >Web Front-end >HTML Tutorial >In html, how to add attributes using style
This time I will show you how to use style to add attributes in html, and how to use style to add attributes in html. What are the precautions? The following is a practical case, let’s take a look.
Add inline styles to the required connections:
The code is as follows:
<a href="ddrb/090630.asp" target="_blank" style="text-decoration:underline;">30</a>
I believe you have mastered the method after reading these cases. Please pay attention to php for more exciting things. Chinese website Other related articles!
Related reading:
How to solve the problem that the background image of the a tag is not displayed under IE8
disabled and readonly in HTML What's the difference?
How to use the head structure in HTML
The above is the detailed content of In html, how to add attributes using style. For more information, please follow other related articles on the PHP Chinese website!