ブログを使うことでタグを知らなくてもホームページを作ることができるようになりましたが、リンクタグだけは理解しましょう。
<a href="http://px.a8.net/svt/ejp?a8mat=U4U95+D4Q73M+348+65MEA" title="おすすめのレンタルサーバーです。" target="_blank" onMouseOut="MyMsgBox.innerHTML='';disp(''); return true" onMouseOver="MyMsgBox.innerHTML='おすすめのレンタルサーバーです。';disp('http://lolipop.jpへ'); return true"><img border="0" width="100" height="60" alt="ロリポップ!" src="http://www25.a8.net/svt/bgt?aid=050614313794&wid=001&eno=01&mid=s00000000404001010000&mc=1">←Click!</a>
わざと長くしてみました。説明の前にこれを実行すると下記のようになります。
それでは説明します。
リンクタグは最小限
<a href="URL">表記したい文</a>
しかしこのままだと、現在見ているページに置き換えてリンク先に飛んでしまいます(訪問者がShiftを押しながらリンクをクリックしてくれれば別ですが)。ここに戻ってきて欲しいのであれば、リンク先の表示は新たなウィンドウで行ないたいものです。これを指定しているのが『target="_blank"』の部分です。
また、クリック先の情報を予め提供してあげた方が親切です。予備知識があればクリックしてみる価値があるかどうかが分かりやすいです。そのため、ツールチップで説明をしてあげるために『title="おすすめのレンタルサーバーです。"』を入れています。
次に、ちょっとマニアックなのが『onMouseOut』と『onMouseOver』の属性を指定していることです。これは何をやっているのかというと、ひとつは『MyMsgBox』として指定した場所に文字を表示させています。
↑<div ID="MyMsgBox"></div>このように『MyMsgBox』として指定した場所があれば、リンクにカーソルがあえば' 'でくくった文字を表示し、カーソルが外れれば表示した文字を消します(' 'でくくった範囲に何も入れていないので)。また、同時に『disp('http://lolipop.jpへ'); return true』という指定を行なっていますが、これはJavaScriptの
<script type="text/javascript"> <!-- function disp(msg){ window.status = msg; } // --> </script>がソースに埋め込まれていることが前提となっています。disp関数に文字列を引数として送り、disp関数側は受け取った引数をステータスバーに表示させます(この場合は『http://lolipop.jpへ』が表示)。
最後に、イメージタグですが、画像を表示する場合に使います。srcで画像へのパスを指定します(ここではmc=1までがソースです)。altは画像の説明です。borderは枠の太さ(ここでは0なので無し)、widthとheightは幅と高さの指定です。
なお、titleやtarget等の属性の順番は任意でいいはずです。
Hello! I know this is somewhat off topic but I was wondering which blog platform are you using for this site? I’m getting tired of WordPress because I’ve had problems with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.
投稿者: wholesale wedding dreses at 2011年03月07日 01:20I am just commenting to make you understand of the useful discovery my wife’s child enjoyed viewing your web site. She came to understand lots of details, which include what it’s like to possess an ideal teaching character to let other people very easily learn a number of tortuous things. You undoubtedly surpassed her expected results. I appreciate you for presenting such informative, safe, explanatory and even easy guidance on this topic to Mary.
投稿者: tuinlantaarn at 2011年04月17日 20:39I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to create your theme? Outstanding work!
投稿者: pyjama at 2011年04月18日 03:10Let me just say that this is certainly a good impacting take on this specific issue. Thanks, I’m happy you shared your opinions in addition to smart ideas and I discovered I concur. I definitely recognize your clear writing as well as the energy you have invested with this post. Loads of thanks for the strong work also great luck with your site, I most certainly will be awaiting new topics in the future.
投稿者: pyjama at 2011年04月18日 05:19Hey! It’s like you understand my mind! You seem to know a lot about this, just like you wrote the book in it or something. I think that you could do with some images to drive the content home a bit, but other than that, this is good blog. A great read. I will certainly revisit again.
投稿者: zijden pyjama at 2011年04月18日 14:21I truly like the fresh perpective you did on the issue. Truly was not expecting that when I started off studying. Your concepts had been easy to comprehend that I wondered why I never looked at it before. Glad to know that there’s an individual out there that definitely understands what he’s discussing. Great job
投稿者: hang hieu at 2011年04月19日 20:49Let me just say that this is certainly a good impacting take on this specific issue. Thanks, I’m happy you shared your opinions in addition to smart ideas and I discovered I concur. I definitely recognize your clear writing as well as the energy you have invested with this post. Loads of thanks for the strong work also great luck with your site, I most certainly will be awaiting new topics in the future.
投稿者: thoi trang 2011 at 2011年04月21日 03:56I truly like the fresh perpective you did on the problem. Really was not expecting that when I started off studying. Your concepts were easy to comprehend that I wondered why I never looked at it before. Glad to know that there’s an individual out there that definitely understands what he’s discussing. Fantastic job
投稿者: pyjama at 2011年04月30日 23:19I¡¦ve been exploring for a little for any high-quality articles or weblog posts on this sort of house . Exploring in Yahoo I eventually stumbled upon this website. Reading this information So i am happy to show that I have a very excellent uncanny feeling I discovered exactly what I needed. I so much indisputably will make certain to do not fail to remember this web site and give it a glance regularly.
投稿者: outer ear infection at 2011年05月07日 04:08Amazingly, your piece goes to the heart of the topic. Your clarity leaves me wanting to know more. Just so you know, i’ll immediately grab your feed to keep up currently with your online blog. Sounding Out thanks is merely my little way of claiming what a masterpiece for a fantastic resource. Take On my best wishes for your subsequent publish.
投稿者: lighting manufacturers at 2011年05月13日 05:08I wish to express some thanks to this writer just for bailing me out of this particular issue. Right after researching throughout the internet and getting tricks that were not pleasant, I assumed my life was done. Living without the approaches to the problems you have resolved by way of this guide is a critical case, as well as the kind that could have negatively damaged my career if I hadn’t encountered the website. Your good expertise and kindness in controlling every part was valuable. I am not sure what I would have done if I had not discovered such a step like this. I am able to now look forward to my future. Thanks for your time very much for your impressive and amazing help. I will not hesitate to suggest your site to any person who needs and wants guide about this problem.
投稿者: gartenlaterne at 2011年05月14日 05:18You really make it seem so easy with your presentation but I find this topic to be actually something which I think I would never understand. It seems too complicated and very broad for me. I'm looking forward for your next post, I’ll try to get the hang of it!
投稿者: lenovo laptop i5 at 2011年05月15日 01:49You ought to really think about working on creating this blog into a major authority on this market. You evidently have a grasp deal with of the matters everyone is trying to find on this website in any case and you would definitely even earn a buck or two off of some advertisements. I’d discover following current matters and elevating the amount of write ups you put up and I guarantee you’d begin seeing some amazing focused visitors in the near future. Only a thought, good luck in no matter you do!
投稿者: gartenlaterne at 2011年05月15日 03:29hey there and thank you for your information – I have certainly picked up anything new from right here. I did however expertise some technical points using this website, as I experienced to reload the web site a lot of times previous to I could get it to load properly. I had been wondering if your hosting is OK? Not that I'm complaining, but sluggish loading instances times will often affect your placement in google and could damage your quality score if advertising and marketing with Adwords. Anyway I am adding this RSS to my e-mail and could look out for much more of your respective exciting content. Make sure you update this again soon..
投稿者: fujitsu lifebook ph530 at 2011年05月15日 23:49What produced you believe about this kind of subject. Its amusing I'm not the only 1 that feels that way about it. Maintain it up!. This really is most probably among the many most suitable mentions of this matter I’ve viewed in particularly a while. It’s apparent that your knowledge of the matter is deep and this crafted to get a very interesting read. Agreeable Superb Magnificent.
投稿者: job search omaha ne at 2011年05月25日 03:40I truly like the fresh perpective you did on the issue. Truly was not expecting that when I started off studying. Your concepts had been easy to comprehend that I wondered why I never looked at it before. Glad to know that there’s an individual out there that definitely understands what he’s discussing. Great job
投稿者: gartenlaternen aus metall at 2011年05月28日 05:52Awesome web site you will have here but I used to be curious in case you knew of any discussion boards that cover the exact same topics talked about right here? I’d genuinely wish to be considered a part of group where I can get feedback from other knowledgeable individuals that share the exact same interest. If you have any suggestions, please allow me to know. Kudos!
投稿者: costco jobs at 2011年05月30日 16:05I wish to express some thanks to this writer just for bailing me out of this particular issue. Right after researching throughout the internet and getting tricks that were not pleasant, I assumed my life was done. Living without the approaches to the problems you have resolved by way of this guide is a critical case, as well as the kind that could have negatively damaged my career if I hadn’t encountered the website. Your good expertise and kindness in controlling every part was valuable. I am not sure what I would have done if I had not discovered such a step like this. I am able to now look forward to my future. Thanks for your time very much for your impressive and amazing help. I will not hesitate to suggest your site to any person who needs and wants guide about this problem.
投稿者: lighting manufacturers at 2011年05月31日 11:03I’m commenting to make you be aware of what a great encounter my wife’s daughter enjoyed reading through yuor web blog. She came to understand some details, including what it’s like to have an incredible teaching spirit to let the mediocre ones just grasp some impossible matters. You undoubtedly did more than readers’ expected results. I appreciate you for coming up with those important, trusted, informative and easy tips about this topic to Mary.
投稿者: lighting manufacturers at 2011年06月01日 10:54I wish to express some thanks to this writer just for bailing me out of this particular issue. Right after researching throughout the internet and getting tricks that were not pleasant, I assumed my life was done. Living without the approaches to the problems you have resolved by way of this guide is a critical case, as well as the kind that could have negatively damaged my career if I hadn’t encountered the website. Your good expertise and kindness in controlling every part was valuable. I am not sure what I would have done if I had not discovered such a step like this. I am able to now look forward to my future. Thanks for your time very much for your impressive and amazing help. I will not hesitate to suggest your site to any person who needs and wants guide about this problem.
投稿者: leather belt manufacturer at 2011年06月10日 17:36Thanks so much for providing individuals with such a splendid opportunity to read in detail from this website. It is always very brilliant and as well , jam-packed with a good time for me personally and my office co-workers to search your web site a minimum of thrice weekly to read the new guidance you have got. Of course, I’m also always fascinated considering the fantastic thoughts you give. Some 2 ideas on this page are easily the most suitable we have ever had.
投稿者: exterior lighting manufacturers at 2011年06月11日 05:58MovableTypeを活用ã—ã¦è„±åˆå¿ƒè€…ï¼: リンクタグ Great goods from you, man. I have understand your stuff previous to and you're just extremely wonderful. I actually like what you've acquired here, certainly like what you are stating and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I can't wait to read much more MovableTypeを活用ã—ã¦è„±åˆå¿ƒè€…ï¼: リンクタグ again from you. Thanks For Share .
投稿者: liberty reserve at 2011年07月05日 17:36The the almighty ! you'll be master boyfriend, i came to be seeking out this info at all times websites. Seems as if you’re speedy article author . have a ball the following people
投稿者: recreational viagra at 2011年07月07日 21:42How you doin?, I must say i absolutely adore how you developed the subject… you may have can potentially subscribe to a article allow me a handful of tipps. thank you very much earlier
投稿者: transformer 3 movie download at 2011年07月10日 00:09Everyone is numerous volunteers plus best a completely new plan within our regional community. Your web internet site provided us with treasured material to make sure you artworks relating to. You’ve played a stunning procedure not to mention much of our comprehensive local region is perhaps grateful to you personally.
投稿者: 60 pills 10 free viagra at 2011年07月16日 10:10Are you able to information me personally together with pretty much any advice on how i made this online business appear like this method , I’d be thankful!
投稿者: viagra prescription online Mississippi at 2011年07月17日 19:55Forget not that the world pleasures to experience your bare feet and the winds long to play with your hair.
投稿者: Annelise at 2011年07月23日 10:52Hi, Neat post. There's a problem along with your site in web explorer, may test this¡K IE nonetheless is the market chief and a large component of folks will miss your magnificent writing because of this problem.
投稿者: Alden Clinkscales at 2011年07月23日 17:11I’d have to verify with you here. Which isn't one thing I normally do! I take pleasure in studying a post that will make individuals think. Also, thanks for permitting me to remark!
投稿者: Braun Oral B at 2011年07月25日 00:04I’m impressed, I must say. Really rarely do I encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking intelligently about. I am very happy that I stumbled across this in my search for something relating to this.
投稿者: cinemas at 2011年07月25日 04:02Aw, this was a really nice post. In concept I would like to put in writing like this moreover – taking time and actual effort to make a very good article… however what can I say… I procrastinate alot and not at all seem to get one thing done.
投稿者: Real Estate Agents Richmond at 2011年07月25日 16:13