Saturday, July 22, 2017

HTML 5 tutorials Part 3 - Bacis of HTML - Lists and Links

In this part we are going to discuss different kind of lists and links.

Lists


Unordered List

unordered list is the bulleted list which is defined using the tags ul and li.

<ul>
<li>1<sup>st</sup></li>
<li>2<sup>nd</sup></li>
</ul>

We can create nested lists with another ul tag within the li tag.
                <ul>
<li>1<sup>st</sup>
<<ul>
<li>1.1</li>
</ul>
</li>
<li>2<sup>nd</sup></li>
</ul>

Ordered List

We can create ordered lists using the <ol> and <li> tags. Define in the same way as unordered list.

Definition List

Definition list are used to have term and put its definition next to it.

<dl>
<dt>HTML</dt>
<dd>Hyper text markup language</dd>
</dl>

Tuesday, July 18, 2017

HTML 5 Tutorial Part 2 - Basics of HTML - Text Elements

So, we have learned about the basics of html5 in the Part 1 of the series of tutorials. In this part we will discuss different Text elements and their attributes.

Note: No examples included please try them in an HTML page and see for yourself that what would be the text like. This is done intentionally. Purpose is to make you aware of the elements and encourage to try them yourself.


Block vs Inline Elements

Block elements are used to define a block of content like div or p tag. They are rendered on different lines, we can make them render on the same line using css. But we can say that block element render in the next line.

Inline elements are used to defined links or acronyms like span tag, a tag. Text will be rendered inline to the content. 

Headings

H1 - Primary heading

Primary heading of the document. It is also used by the search engines. 

H2-H6 - Sub headings

HTML have subheadings ranging from H2 - H6. So you can have subheading H2, H3, H4, H5 and H6. You want to use one primary heading for your page and subsequent sub headings. 

Note: We do not want to use the heading for the font size, we can style the text using style sheets.

<pre>

When client sees the pre tag it will honor the whitespace in the content.

<br/>

Used to add the newline.

<hr/>

Adding a horizonal rule and you can style it look different way.

&nbsp - non breaking space

This is instruction to client that do not break a line at that point while doing text wrapping.

&lt and &gt

Used to show the less than and greater than signs in the web page. As we have < and > being used in the html and if you want to show those as symbols than we need to use &lt and &gt.

<sup> and <sub>

superscript and subscript used to set the text as superscript and subscript.

<cite>

Information for citing a particular person or entity. It will be rendered as Italic text. you can style the cite in the styles. These are mostly for the search engines.

<abbr> and <acronym>

acronym is used to put the acronym and set the title attribute to set the full name of the acronym. Full name of the acronym will be shown in the mouse hover tooltip. abbr is used in the same way.

<em> and <strong>

emphasis and strong can be used to highlight the text. em is going to render the text in italic and strong is going to make the fond bold.

<blockquote><q>

blockquoute and qoute are used to put some quoutes in the text. Blockqoute as the names suggest is block element and q is inline qoute.


Note: Please try them at home.

HTML5 Tutorial Part 1 - Basics of HTML

In this part we will discuss the basics of HTML before we dive in to the html5 elements and features of html5. 

Terms will be used


Client

Client will be user Browser. Which render the html documents. You would not see the html tags on the page but the render web page.

Server

Machine hosting the HTML web documents and that can be located using the specific URL. URL is universal resource locator. There's lot happen when you click on a URL. we can cover that in separate blog.

Framework

Client side javascript framework which help in development of client rich applications. Most popular frameworks are AngularJS and React.


Tuesday, October 27, 2015

Setup Jenkins Server with Proxy Setting and Gitlab Integration Part 1

Jenkins Setup

Here are the steps which we need to configure Jenkins on a build server.
   1. Download Jenkins from https://jenkins-ci.org/
                - Currently installed version is 1.632
   2. Configure Global Security
a. Enable Security
b. Set to use Jenkins Own Database, and check the Allow user to sign up. [Required for first user sign up if not created already.]
c. Set Authorisation to Logged in user can do anything

Jenkins Proxy

e.      Signup and un-check “Allow users to signup”.
   3. If Jenkins is behind a proxy than you would need to configure it to have access to the internet. This is the part took me some time to figure it out. J

Wednesday, September 9, 2015

Apple September 9 2015 Event – All you need to know

Yesterday Apple announced so much. Rather than writing multiple articles for each of the things announced yesterday I am trying to brief and give you the visuals from the event.


The crowd this time was huge, Tim specially mentioned the Apple Employees presence to the Event.





As Tim Cook did yesterday getting to the point straight way. 
Let’s start


Apple Watch


First thing announced was Apple watch. Apple watch new OS 2 is announced.




 New watch comes with new Faces




 With New OS comes new features
  • Time Travel – time travel is features where you can check the next day events.
  • Transit is added to the Maps.

Few Apps which were Demoed in the event
  • Facebook messenger is coming to Watch later this year.
  • iTranslate – iTranslate can translate update 90 languages and more will be added later.
  • AirStrip

 New Watch band with Leather strip.