Friday, June 1, 2018

(HTML_1) Basic Tag

HTML- Hypertext Markup Language


Html coding: Stander Format   
         
<!DOCTYPE html>
Start : <html>
<head>
head tag use for title writing 
<title> Welcome to our website </title>
</head> 
<body>
</body>
 End: </html>   Slash means end

Enter Tag: <br/> code , enter tag has no end tag. Inserts a single line
Paragraph tag : <p> , </p>
Blod Tag : <b> , </b>
Italic Tag : <i> , </i>
Underline Tag : <u> , </u>
Normal text Tag: <span>, </span>

horizontal rule : <hr/>

Coding For add image:

<img src="immage link from online" />
<img src="immage name" />
<img src="folder name/folder name/immage name" />       ( This tag use for adding image from after folder)
<img src="../../image name" />       (.. use for mean one folder before. Like that ../.. mean two folder before. This tag use for adding image from before folder)
Hyperlink tag/ anchor text : <a href="http//google.com" target="_blank">image name</a>        (blank use for every time open in a new tab)
Hyperlink tag/ anchor text : <a href="http//google.com" target="_self">image name</a>        (self use for open from main page)

Hyperlink tag/ anchor text for image clickable :

<a target="_blank" href="https://twitter.com/RoksanaSiddika"><img src="image name" alt="image title" /></a>
<img src="image name" alt="image title" />

0 comments:

Post a Comment

Comments