>>191
これ。
A列にhref(例通りなら三行ともxxx.http)、
B列にimg(例通りならB1がtokyo、B2がnagoya、B3がoosaka)、
C列にhref(例通りなら三行ともimage)、
を書いて管理しておく。
A1からC3までマウスドラッグで選択→右クリック→コピー(キーボードでもいいけど)・・・

const html = `
<<それをここに貼り付け>>
`.trim().split`\n`
.map(r => {
const [href, img, text] = r.trim().split`\t`;
const aElm = document.createElement`a`;
aElm.href = href;
aElm.setAttribute('img', img);
aElm.textContent = text;
return aElm;
})
.reduce((acc, aElm) => acc + aElm.outerHTML + '\n', '');
console.log(html);

出来たコードをchromeのコンソールに貼り付けてエンターで実行。
結果:
<a href="xxx.http" img="tokyo">image</a>
<a href="xxx.http" img="nagoya">image</a>
<a href="xxx.http" img="oosaka">image</a>

終わり。