Home >Web Front-end >HTML Tutorial >In html, how to add attributes using style

In html, how to add attributes using style

php中世界最好的语言
php中世界最好的语言Original
2018-01-27 09:48:443235browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn