Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nowrap and width attributes in <td> tag #1104

Open
encgoo opened this issue Dec 12, 2023 · 0 comments
Open

nowrap and width attributes in <td> tag #1104

encgoo opened this issue Dec 12, 2023 · 0 comments

Comments

@encgoo
Copy link

encgoo commented Dec 12, 2023

Tested using Tidy 5.8.0 on Debian.

Add a tag with nowrap like this
<td nowrap> Yes</td>

Run

tidy -ashtml _input_file.html

Tidy keeps the above td tag unchanged. And it also recommands validating the output using https://validator.w3.org/nu/

However the validator shows an error for nowrap:
The nowrap attribute on the td element is obsolete. Use CSS instead(http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant