Like this:
<a data-bind="html: name, attr: { href: url }">
You use comma-separated bindings - the attribute is the same as passing an object:
{
html: name,
attr: { href: url }
}
Or, if you're asking about multiple attr
bindings at once:
<a data-bind="html: name, attr: { href: url, 'data-prop': FullName }">
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…