「HTMLソースコードに書いてあるメッセージや絵は何?」
「どんなWebサイトにあるの?」
「アスキーアートはどうやってつくればいいの?」
こういった悩みにお答えします。
- 目次
隠しメッセージ、アスキーアートを入れる意味
これは単なる遊び心でしかないです。
Webページの読み込みだけを考えれば、改行や空白さえないほうがいいので。
IT系、Web系のWebサイトだと、ユーザーにソースコードを見られる可能性も高いので、何か特別なメッセージを書いておいたりすると、他社と差別化したり、面白い会社だと思ってもらえるかもしれません。
これらはコメントアウト内に書かれるものなので、プログラムなどに影響をあたえません。
コメントアウトについては、以下、記事で紹介しています。
コメントアウトの使い方【HTML・CSS・PHP・JavaScript】
コメントアウトの使い方を知りたいですか?この記事では、Web制作で使うコメントアウトの書き方(HTML、CSS、JavaScript、PHP、.htaccess)、複数行での書き方、WordPressでのつく別なコメントアウトの使い方を紹介しています。ぜひご覧ください。
HTMLソースコードを見る方法
一般的なブラウザであれば、右クリックしてでてくるメニューからソースコードを見ることができます。
- Chrome → ページのソースを表示
- Internet Explorer → ソースの表示
- Edge → ページのソース表示
- Firefox → ページのソースを表示
- Safari → ページのソースを表示
Google Chromeの場合は、URLの前に「view-source:」をつけることでソースコードを見ることができます。
隠しメッセージ、アスキーアートがあるWebサイト
アスキーアート系
アスキーアートとは、プレーンテキストによる視覚的表現技法のことです、テキストアート、活字アート、絵文字などとも呼ばれます。
メールなどに使う顔文字もアスキーアートの一種といえます。
食べログ
ロゴと「食べログ」のアスキーアートが書いてあります。
そして、小さく【私たちと一緒に「食べログ」を作ってみませんか?】とメッセージがあります。
ここ採用サイトへ誘導するというこはWeb系の人を募集しているのかなという感じがします。
全国にあるレストラン907,958件を一般ユーザーの口コミをもとに集計した様々なグルメランキングから探すことができます。美味しいレストランや、人気のレストランが簡単に見つかります!
任天堂ニュース
tumblr
シンプルにロゴのアスキーアートです。
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 64
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 66
Tumblr is the place you go to be yourself on the internet. No performance, no perfection. Just you, and the people who get it.
コカ・コーラ
シンプルにロゴのアスキーアートです。
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 38
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 45
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 47
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 64
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 66
Warning: Undefined array key "description" in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
Warning: Trying to access array offset on null in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
ロリポップ
「TEAM LOLIPOP」のアスキーアートです。
ロリポップ!レンタルサーバー|WordPressサイト月額330円〜
累積利用者数250万人のレンタルサーバー「ロリポップ!」。月額330円〜、WordPressは申し込みと同時にセットアップ。10日間無料でお試しください。
メッセージ系
ドットインストール
「エンジニア、プログラマのあるある話」がリロードするたびに切り替わります。
ドットインストールのtwitterに投稿すれば自分のあるある話も載るかもしれません。
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 38
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 45
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 47
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 64
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 66
Warning: Undefined array key "description" in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
Warning: Trying to access array offset on null in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
天然水の森 人類以外採用 サントリー
Webサイト自体がネタのような内容なので、ソースコードでも遊び心で書かれています。
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 38
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 45
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 47
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 64
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 66
Warning: Undefined array key "description" in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
Warning: Trying to access array offset on null in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
富士そば
マナブログ
WordPressテーマが宣伝が書かれています。
ソースコード見に来る人なんてブロガー、プログラマーなので、こんなところでも的確なマーケティングしてます。
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 38
久しぶりの近況報告です。1つ決断をしました。法人を閉じて、今の売上も捨てて、全てをリセットします。その上で、すべての事業に「透明性」を作り、またゼロから構築していこうと思います。なにか参考になればと思い、書いてみました。
Webクリエイターボックス
「デザインとは、単にどのように見えるか、どのように感じるかということではない。どう機能するかだ。 スティーブ・ジョブズ」という名言が書かれています。
WebデザインやWebサイト制作、最新のWeb業界情報などを紹介していくサイト。
アスキーアートの作り方
アスキーアートを自分で手入力してつくっていくのはとても大変です。
以下のWebツールを使うことでアップロードした画像から変換して、アスキーアートを作成することができます。
AA変換(アスキーアート生成)|Web便利ツール@ツールタロウ
画像からアスキーアートを自動作成するWebツール。横幅200文字のサイズまで生成可能で、画像・テキスト両方で保存可能。PC・スマートフォン・タブレットのブラウザで使えます。常時SSL対応。
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 38
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 45
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 47
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 64
Warning: Undefined array key 0 in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 66
Warning: Undefined array key "description" in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
Warning: Trying to access array offset on null in /home/hashi84/hsmt-web.com/public_html/wp/wp-content/themes/hsmt-web/functions/custom_ogp.php on line 121
まとめ
HTMLソースコードに隠しメッセージ、アスキーアートがあるWebサイトを紹介しました。
コーディングでは極力余計なものは削除したほうがいいですが、こういった遊び心をこっそり入れるのもときには大事かなと思います。