比如给Id为a的A标签添加一个title的属性
<script>setTimeout(function(){document.querySelector('a').title = 'test';},0);</script>