Comment by guessmyname

2 years ago

The name attribute is used to create a named anchor. [1]

When using named anchors you can create links to a specific section on a page, instead of letting your viewer scroll around to find what he/she is looking for. Named anchors are called bookmarks in Expression Web.

NOTE: Not supported in HTML5. Use the global id attribute instead. Specifies the name of an anchor

You can also use the name attribute on the server side to identify the fields in form submits. [2][3]

[1] https://www.expression-web-tutorials.com/anchor-tags.html

[2] https://www.w3schools.com/tags/att_name.asp

[3] https://stackoverflow.com/a/1397613

Thanks, I remember it was replaced by the ID attribute, but in this case, it is not being used as a named anchor. It seem more like an index.