How to add addresses into HTML with the ADDRESS Tag
In this video we talk about the way to define the address area of a site but beyond that we give a few tips on what to do and what not to do when you put up your address onto a site.
Video Transcript
00:00Alright, while you're away we added a new HTML file, we just added a little bit of copy into it which is blurbs
00:07nothing to worry about too much so we have something to work with, let's assume it's some sort of an article
00:13the tag that we want to do is actually add an address where users could contact us once they completed writing, whatever they're writing.
00:20if I open up a new browser here just for just a second, I'm just going to find an URL of our blog.
00:31So I'm going to go into blog.everythingfla.com
00:33and we should have here a contact form I believe it's: /contact
00:41and we're going to send them to our contact form, here we go, this is our contact form, very simple contact form
00:46and what we want to do is add a contact us for more information or something of that nature
00:51I'm going to go into my editor, go right on the bottom here, add :
00:56For more information you may contact me at this link.
01:08We're going to put an 'a href' which you guys already know how to work with and I'm just going to put the link directly in it
01:14so far, so good. If I go into my browser again and click on refresh, all we're going to see is we have here another line with our link
01:22in HTML we want to also define sometimes to actually tell the browser where is the contact information
01:29to help the browser and search engines know where is our contact information for our site, for our page,
01:35We'd want to wrap our contact information with the key word term 'address'
01:43I'm going to go back into my editor and in my editor all I have to really do is just wrap around only the contact information
01:49and that's all I really needed to do and as soon as I wrap that, now my address information is send along
01:58and it's clear to the browser so if someone is searching for 02geek an address he'll have a high probability of finding the exact contact information because of that
02:07now with that said I have a side note, now this is not something visual at all so if you go into the browser it's not going to change anything in your page
02:15besides indenting and pushing it down a new line
02:18-italicise -Italicising! oh gosh. I don't think I'm gonna ever know how to say word italicize I always replace it with indent
02:26I should have a definition diary for how to understand me
02:33-Learning english
02:34-Learning Ben for english speakers
02:39Anyways, in this case it actually does break it down into a new line and this is our address,
02:43usually you'd see many times in those type of places also the full address so I'll just break it a line
02:49many times you'd actually see information such as: Everything Nice inc. 116343rd street... brooklyn, NY11219
03:04you could send your fanmail there by the way,
03:06and then the actual email address which would be support@02geek.com
03:13by the way. I personally don't like putting my email directly on the website ever because there's a lot of spam bots out there
03:20that will filter out and find your information that includes also people that's in your real mail and includes also people that send you emails
03:28and phone numbers so I really try to avoid putting it in the public domains but what we could do is if you have a locker in your site
03:34is make sure that your users have to log in before they see their information which could cut down the amount of information being sent out
03:40or use any plug-ins such as we're using in our blog that basically filters out the information and builds it out for us
03:50We're using WordPress which is something very commonly used
03:53Anyways I went a little bit off track, only thing I had to say and continue on with this messages
03:58when you're working with the address attribute which is totally controlled in CSS, once you know how to work with CSS
04:03if you don't like it, breaking a line you could undo it, you could undo anything using CSS really from the visuals
04:08its main goal is to give the contact information of the author of the page, if you're working in the HTML file world
04:15and you actually wrote an article, there's a tag called article tag, it doesn't really do anything
04:20but in the article tag you wrap around article that you wrote or something that is specifically written in that page
04:26so an article or a newsletter or anything of that nature and once you've wrapped around and then you put your address within the address block
04:34the address is not the address of the website but it's the address of whoever wrote that article.
04:39That way if you're a newspaper or something of that nature which you have a lot of different contacts
04:44you'd normally put it inside of an article making sure that the article is connected to a person
04:50and imagine in the future as HTML5 progresses search engines would be able to find all the different articles that specific people wrote
04:57or specific companies wrote beyond only their website which is kind of cool. So you could definitely see those type of progress happen
05:04with the addition of the address and the article and thise really more defined things which were what we're doing here in our course in HTML4/5
05:12we're learning HTML4 in the HTML5 world that's basically helping search engines more than anything else to build your content in a way that gets more audience
05:23which is literally our goal. Alright, so that's the address, we're done with that.
