Homebiz

. Time in Lagos:

Wednesday, June 28, 2017

emmanuelokoro316@gmail.com

As these are supposed to be HTML5 tutorials, it would be remiss of me to ignore the newtag. There is a great example over at HTML5 Hubof how to set up thePicture Tag
1.
2.
3.
4.
5.
6.

Accessible text.

7.
If you are embedding an image from your own site, you can specify the full URL to the image or, as in this example, a path relative to the root of your website. If you are using files on your own computer with these HTML5 tutorials, then you can either use the full folder path to the image, or you can use a path relative to where your.htmlfile is.
This makes your options something like this:
*.src=" https://www.do main.com /images /my-company- logo.png"– the full URL to the image
*.src=" https://www.no t- my-website.com /images/their- company- logo.png"– a URL to an external site’s images
*.src="images/logos/my-company-logo.png" How to Insert Images and Pictures in HTML
The Tag
Building on this idea of attributes I can introduce you to the IMG tag. To insert an image in a page you can use the following HTML snippet – I will explain each attribute in turn.
1. So, before CSSbecame mainstream (which didn’t take long), you could easily alter the font on a page like this:
1.Red Font, in Arial Typeface, at scale '3' Leaving yourself notes within HTML is really easy with a simple pair of ‘unusual’ tags. They look like this:
1.
24.

25. Indicates a footer, of a page or a section
26.

27.
28. 1.
2.
3.
4.Welcome To Your First HTML Page
5.
6.function exampleFunction(){
7.//do nothing
8.}
9.
10.
11.
12.
13.
14.
15.

16. Site Header
17.

18.

19. Your page's main content goes here
20.

21.

No comments:

Post a Comment