ページ内のURL(http、httpsから始まる文字)をリンク化するCSSの記述 ※aタグのCSS記述です。必要に応じて変更して下さい。 <style> body{ padding: 0; text-align: center; position: relative; margin: 0; height: 100%; } h1{ padding:10px 0; font-size:18px; line-height:1.4em; } a{ text-decoration:none; } a:hover{ text-decoration:underline; } .clWrap{ width:800px; margin:0 auto; } .clWrapSub{ width:500px; margin:0 auto; text-align:left; } </style> .replace(
![replace()を使ってページ内のURL(http、httpsから始まる文字)をリンク化【JavaScript】|DAD UNION – エンジニア同盟](https://cdn-ak-scissors.b.st-hatena.com/image/square/21adc34e70bbdec45b3f8a76778daaa02a1a023b/height=288;version=1;width=512/https%3A%2F%2Fdad-union.com%2Fwp-content%2Fuploads%2F2019%2F07%2Fcap20190722.jpg)