Cera Production

Lomba Review Percetakan CeraProduction.com

Tridinamika

Tridinamika Blog Kontes 2013

Wednesday 17 July 2013

Quote and Blockquote Tags

1. Blockquote Tag (<blockquote>...</blockquote>) 
     Blockquote tag is used to give the sign to the readers that the text between this tag are a qoute from other paragraph or others site. There is no a sign that shown by browser, but will added an indentation into all the text. 
     This tag is block. And then, this tag just have an attribute that is cite, that used to show the site address of text have been quote but it willn't shown by browser. 
example: 


...
<body style='width:400px; border:1px dotted red;'>

  <div>

    <blockquote cite='https://support.google.com/?hl=en'>

     If you're having trouble accessing a Google product, there's a chance we're       currently experiencing a temporary problem. You can check for outages and downtime on the apps status dashboard.</blockquote>
  </div>
</body>
... 
result: 
  
     we can see that Blockquote tag will give an indentation to all of the text and large indentation are 40px.      
     For the border property of the CSS code have function to give a rule to body tag as big as 1px, dotted rule and also red rule.


2. Quote Tag (<q>...</q>)

     This tag has the same function as Blockquote. But, in this tag, browser will show the quote sign (" ") to the text. 

     These tag is inline which means that willn't be a margin before and after this tag, so that can be inserted in paragraph. Furthermore, this tag has an atribute that same with blockquote attribute that is cite attribute, which has the same function. 

Example: 
...
<body>
  <div>
    he said <q>next time we can talk again</q>
  </div>
</body>
... 

result: 

No comments:

Post a Comment

Silahkan beri komentar tentang artikel kami...