Programming – TechBland https://techbland.com Unique Tips And Tricks Toward Success Thu, 14 May 2020 12:52:11 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.1 https://i2.wp.com/techbland.com/wp-content/uploads/2019/02/cropped-favicon.png?fit=32%2C32&ssl=1 Programming – TechBland https://techbland.com 32 32 154885163 7 Common Mistakes of Python Programmers https://techbland.com/common-mistakes-of-python-programmers/ https://techbland.com/common-mistakes-of-python-programmers/#respond Thu, 14 May 2020 12:52:11 +0000 https://techbland.com/?p=4900 7 Common Mistakes of Python Programmers

Before moving on to discussing why exception handling is so important and looking at Python’s built-in exceptions, or 7 Common Mistakes of Python Programmers. It’s important to understand that there is a fine line between the concepts of error and exception. The error cannot be handled, and Python exceptions are handled during program execution. The […]

The post 7 Common Mistakes of Python Programmers appeared first on TechBland.

]]>
7 Common Mistakes of Python Programmers

Before moving on to discussing why exception handling is so important and looking at Python’s built-in exceptions, or 7 Common Mistakes of Python Programmers. It’s important to understand that there is a fine line between the concepts of error and exception.

The error cannot be handled, and Python exceptions are handled during program execution. The error may be syntactical, but there are many types of exceptions that occur during execution and do not stop the program immediately. An error can indicate critical problems that the application should not intercept, and exceptions – states that are worth trying to intercept. Errors are a type of unverifiable and irrecoverable errors, such as OutOfMemoryError, which you should not try to handle.

Exception handling makes the code more fault-tolerant and helps prevent potential problems that could lead to a premature stop of execution. Imagine code that is ready for deployment but still crashes due to an exception. The client will not accept this, so it’s worthwhile to process specific exceptions in advance to avoid confusion.

In case, you have some errors that you can’t handle by yourself, find a Python assignment help service like AssignmentCore whose experts are committed to do Python coding projects with excellence.

Errors can be of different types:

  • Syntactic;
  • Not enough memory;
  • Recursion errors;
  • Exceptions,

We will analyze them in turn.

Syntax Errors 

Syntax errors are often referred to as parsing errors. They occur when the interpreter detects a syntax problem in the code.

Out of Memory (OutofMemoryError)

Memory errors are most often associated with the computer’s main memory and are related to a data structure called the “heap” (heap). If there are large objects (or) links to similar ones, then OutofMemory error will most likely occur. It may appear for several reasons:

  • Using the 32-bit Python architecture (the maximum amount of allocated memory is low, between 2 and 4 GB);
  • Large file upload;
  • Launching a machine learning / deep learning model and much more.

You can handle a memory error using exception handling — a backup exception. It is used when the interpreter runs out of memory and should immediately stop the current execution. In rare cases, Python raises an OutofMemoryError, allowing the script to somehow intercept itself, stop a memory error, and recover.

But since Python uses the C memory architecture (the malloc () function), it is not a fact that all processes will be restored – in some cases, a MemoryError will cause it to stop. Therefore, handling such errors is not recommended, and this is not considered good practice.

Recursion Error (RecursionError)

This error is associated with the stack and occurs when calling functions. As the name suggests, a recursion error occurs when many methods are executed inside each other (one of which is with infinite recursion), but this is limited by the size of the stack.

All local variables and methods are placed on the stack. For each method call, a stack frame (frame) is created, inside of which the variable data or the result of the method call is placed. When the method completes, its element is deleted.

To reproduce this error, we define a recursion function that will be recursive – call itself in an infinite loop. As a result, a StackOverflow error or a recursion error will appear, because the stack frame will be filled with method data from each call, but they will not be freed.

Standard Errors (StandardError)

Consider some basic programming errors.

Arithmetic Errors (ArithmeticError)

  • Error division by zero (Zero Division);
  • Overflow error (OverFlow);
  • Floating Point Error;

All of the above exceptions belong to the Arithmetic class and are thrown when errors occur in arithmetic operations.

Division by zero (ZeroDivisionError)

When the divisor (the second argument of the division operation) or the denominator is equal to zero, then the result is a division error by zero.

Error “NotImplementedError”

A runtime error serves as the base class for a NotImplemented error. The abstract methods of a user-defined class raise this exception when derived methods overwrite the original.

Type error (TypeError)

A type error is caused when trying to combine two incompatible operands or objects.

In the example below, they try to add an integer to the string, which leads to a type error.

Value Error (ValueError)

A value error is raised when an inline operation or function receives an argument with a valid type but an invalid value.

The built-in float operation will receive an argument representing a sequence of characters (value), which is an invalid value for the type: floating-point number.

Exception handling helps to interrupt a typical program flow using a special mechanism that makes the code more fault-tolerant.

Exception handling is one of the main factors that make your code ready for deployment. This is a simple concept, built on just 4 blocks: try “looks” for exceptions, and except “handles” them.

It is very important to practice using them to make your code more fault-tolerant.

Read More:

Conclusion

Programming is the best field overall though it is somehow difficult but very interesting. As you have several programming courses and one of the best programming is Python. So, I hope you will avoid the 7 common mistakes of python programmers do.

Moreover, if you have any question regarding to common mistakes of python programmers. Then, leave a comment in the comment section.

The post 7 Common Mistakes of Python Programmers appeared first on TechBland.

]]>
https://techbland.com/common-mistakes-of-python-programmers/feed/ 0 4900
How to Start a Programming Blog in 2020? https://techbland.com/how-to-start-programming-blog/ https://techbland.com/how-to-start-programming-blog/#comments Fri, 06 Dec 2019 20:34:05 +0000 https://techbland.com/?p=3535 How to Start a Programming Blog in 2020?

Information is a precious resource. An expert in a certain field has a valuable asset. One of the fastest ways to share knowledge is to start a blog. Therefore, in this article, we are going to tell you How to Start a Programming Blog in 2020? Blogging became an occupation. Bloggers earn money, gain reputation, become […]

The post How to Start a Programming Blog in 2020? appeared first on TechBland.

]]>
How to Start a Programming Blog in 2020?

Information is a precious resource. An expert in a certain field has a valuable asset. One of the fastest ways to share knowledge is to start a blog. Therefore, in this article, we are going to tell you How to Start a Programming Blog in 2020?

Blogging became an occupation. Bloggers earn money, gain reputation, become a part of the credible communities. Blogging is a way to expand a network, create a self-brand, and fulfill the ideas.

It’s possible to start a blog no matter what are your knowledge and niche. Speaking of programming blogs, starting one is even easier. In a world of technologies, people emphasize on the web developer’s portals.

You can become the next Scott Hanselman or Ray Wenderlich. For now, you have some knowledge of programming and experience. The next step lies in wrapping it up in appealing packing and presenting to readers.

In this article, you find out a detailed guide on how to build a programming blog. We will review 6 important How to’s:

  • Find the best hosting;
  • Register a domain;
  • Choose a platform for blogging;
  • Buy a fitting theme;
  • Choose the plugins;
  • Wrap up the content in that appealing packing.

If you still doubt the importance of starting a programming blog, read the next passage. If you can’t wait to tread the blogging path, move forward.

Why Starting a Programming Blog makes Sense?

A blog is a good way to earn money with your knowledge. It can become a source of leads. After you gain some reputation and audience, you can start selling products. You can work with brands. You can get job offers.

I heard stories when web developers got job offers after employers read their blogs. It’s logical since a blog is a presentation of your skills and knowledge.

Here are more reasons to start a programming blog.

  • You keep on learning.

One of the best ways to get the topic is to explain it. A blog should be a reliable source of information. That’s why it’s better to make research. An expert has to be responsible for the information he/she shares.

Thus, with every next article, you will go deeper into details. It’s good for your understanding of the topic.

  • You contribute to your career.

A blog can become a starting point for new connections and leads. An expert gets freelancing, consulting, or job offers.

  • You present your projects.

Your blog is a platform for presenting the projects. Yes, you can share your code on GitHub. Still, its conception limits you in expressing your thoughts and comments.

Your blog is your territory. There, you can talk about your work in-depth.

Also, you can get real feedback about your projects. The audience of such blogs contains users, beginning and skilled web developers. They look at the project from different perspectives. As a result, you can get a broad range of views.

  • You show your communication skills.

In a blog, you can put your code into words. Sociable people gather around readers and potential employers. A blog isn’t about being just an expert. It’s about being a human.

I hope that you got the importance of programming blogs now.

Another question is how to make a good one. Let’s figure it out right now.

How to Choose the Hosting

There is no point to explain to a web developer the importance of hosting, right? Still, it’s not always easy to choose one. From my experience, I picked up 5 worthy options.

When choosing the hosting, pay attention to the next things:

  • Uptime (99.9% and more);
  • Storage and bandwidth;
  • Security (SSL certificate);
  • Load time;
  • Backups;
  • Client support;
  • Way to upgrade the plan.

Choosing 5 hosting companies was hard. You can always find something good for YOU. The choice of hosting depends on the size of the website, the number of visitors, the purpose. Still, let’s consider at least 5 reliable options.

A2Hosting

How to Start a Programming Blog
How to Start a Programming Blog

The company specializes in high-performance hosting. You can find WordPress, Shared, VPS, Dedicated, Reseller plans. Other features:

  • 20X faster turbo servers;
  • 99.9% uptime;
  • Free SSL certificates;
  • 24/7/365 support;
  • SwiftServer Platform.

The pricing policy is quite affordable.

How to Start a Programming Blog
A2Hosting Pricing Policy

Aspiration Hosting

Start a Programming Blog
Aspiration Host

Aspiration offers high-performance Cloud services. Main features:

  • SSD drives;
  • LiteSpeed and LiteMage caches (fast load time);
  • Free CDN;
  • Unmetered bandwidth;
  • 99.9% uptime;
  • Website transfer;
  • 24/7/365 support.

You can check out the prices here.

SiteGround

Web Hosting Platform for Bloggers
Web Site Ground

You can host a new website or transfer an existing one with SiteGround. A well-known company offers:

  • An automatic WordPress Migrator;
  • A WordPress auto-updater;
  • Backups every day;
  • Free SSL certificates;
  • CDN and caching;
  • WP-CLI;
  • Unlimited traffic;
  • Free email accounts;
  • 24/7/365 technical support.

The prices are quite low.

Web Site Host Price Planing
Web Site Price

Kinsta

Kinsta Programming Site for Bloggers
Kinsta for Bloggers

Fast load times, scalability and security are major Kinsta’s pros. Other features:

  • Free website migrations;
  • Free SSL certificates and CDN;
  • Automatic backups;
  • WP-CLI and SSH access;
  • 24/7 uptime monitoring;
  • Performance analysis;
  • 24/7/365 support.

WordPress hosting company offers many plans.

DreamHost

Start Programming Blog with Dream Host
How to Start a Programming Blog

DreamHost offers:

  • WordPress hosting;
  • Shared, VPS, and dedicated hosting;
  • Cloud hosting;
  • Website builder.

Nonprofits can get a free shared website. Besides, the company offers commercial services. Among its advantages are:

  • Own control panel;
  • Fast SSDs;
  • Free SSL certificates;
  • 24/7/365 support.

Prices for the plans are here.

I would also offer taking up such companies as FlyWheelHostinger, and InMotion.

How to Register a Domain

Before looking for the services to register a domain name, check out your hosting plan. Such companies as BlueHost offer a free domain name for one year. If your plan doesn’t have this option, dozens of services do.

Keep in mind that in all cases you will have to renew a name every year. It costs around $10.

These services will register a domain name.

Domain.com

Domain Site for New Bloggers
Domain Site

This is one of the oldest services. It allows registering all TLDs and ccTLDs. Its domain search tool is handy. It also shows premium names. It has management tools:

  • Private registration with privacy protection;
  • Bulk registration;
  • Easy transfers;
  • Simple DNS control;
  • Free email account.

This is a nice choice if you need a domain name without hosting.

Google Domains

With Google Domains, you can either create a new name or transfer an existing one. After, you can manage it. It doesn’t offer any other services such as hosting. Still, it integrates well with such products as Google Apps. You can use it for storage, email, records.

Besides, Google runs one of the best DNS servers. Thus, the websites have high speed and security.

How to Start a Programming Blog
Google Domains

The tool has an easy to use interface.

Google Domains have a transparent pricing policy.

Namecheap

How to Start a Programming Blog
NameCheap

It’s one of the most popular domain name registrars. You can register a new name or transfer an existing one. Namecheap is affordable and easy to use. You can find a detailed guideline on how to register and manage a domain name.

How to Choose a Platform for Blogging

When it comes to choosing a system for working with content, you have plenty of options. For instance, you can consider Wix, Squarespace, or similar website builders. In comparison to CMS though, they have fewer features. For example, WordPress has a set of great SEO tools.

You can create a website with website builders. Still, they might limit your further editing steps.

CMSs have advantages:

  • Easy to use. Unlike with HTML website, you don’t have to deal with code. All systems have a drag-and-drop nature.
  • A rich set of tools.
  • Large communities that create modules. It saves time because you don’t have to create a design from scratch. It’s possible to use an existing one.

So, I would recommend using one of the CMSs. Now, let’s consider 3 popular options.

WordPress

Wordpress for New Bloggers
WordPress

WordPress is the most popular CMS. It powers 34% of the websites. As you see, it’s a 4% rise from the previous year. It combines both simplicity and rich functionality.

It has a rich collection of themes for all niches. In total, it has 30,000+ themes. You can find multipurpose solutions. Plus, it has many essential plugins.

You don’t have to have any experience of website building to start a blog.

Still, Joomla or Drupal fit for complex projects better.

Drupal

Drupal is an enterprise-level CMS. It has more powerful tools than WordPress. Plus, it needs less memory. It means a lot to the site performance and load. It has premium portals and enterprise-level security.

Drupal for New Bloggers
How to Start a Programming Blog in 2020

Still, it’s harder for beginners to use. If you are a developer, you will be capable to figure out complex functionality.

So, it’s good for complex projects and skilled web developers.

Joomla

Comparing all three CMSs, Joomla falls between. It has some advanced features similar to Drupal’s. Alongside this, it isn’t that tricky in use.

Joomla for New Bloggers
Joomla

In comparison to WordPress, it has fewer themes and add-ons. It’s still a nice choice for creating a programming website.

Novi Builder

One more option is Novi Builder. It’s an HTML website builder. It has a drag-and-drop nature. Still, it’s possible to work with code for advanced changes. It offers:

How to Start a Programming Blog
Novi Builder

Novi is suitable for:

  • Developers and freelancers;
  • Template authors;
  • Startups and entrepreneurs.

I can’t say which CMS is better for you. It comes to a question of taste. I would recommend checking out more detailed reviews of each variant. A thorough overview might help you to make the right choice.

Where to Find Themes and Plugins?

WordPress stands for the most extensive CMSs. Plus, most of the website owners chose it. So, let’s talk about sources of themes and plugins for a WordPress site.

#1 Official WordPress directory

Wordpress Officail Theme for Bloggers
WordPress Official Themes

You can check out official themes and plugins libraries on wordpress.com and wordpress.org. The libraries have free and premium options. Still, the choice is not rich. The next websites offer unique items.

Marketplaces

Many marketplaces such as TemplateMonster offer WordPress themes and plugins. You will find solutions for micro-niches and multipurpose variants. There are free WordPress themes and premium ones.

How to Start a Programming Blog
How to Start a Programming Blog in 2020

It’s possible to narrow the criteria of the search and find suitable themes.

On the Internet, dozens of sites with WordPress themes and plugins exist. One of the oldest ones is WPZoom. It specializes in premium products. The prices are quite low though.

The themes are customizable. They are compatible with handy page builders. They have a drag-and-drop nature. As a developer, you save time while building and editing a website.

The last step is to organize the content. It includes easy navigation. Don’t puzzle your readers. Pay attention to the menus. They should gather all posts in a logical way (dates, themes, authors, etc.).

Programming Blogs Examples

Here are a couple of programming blogs that could inspire you:

So, I guess you got enough information to make your first steps in starting a programming blog. I wish you inspiration and active readers!

The post How to Start a Programming Blog in 2020? appeared first on TechBland.

]]>
https://techbland.com/how-to-start-programming-blog/feed/ 1 3535
Top 5 Computer Programming Language to Learn in 2019 https://techbland.com/top-5-programming-languages-2019/ https://techbland.com/top-5-programming-languages-2019/#respond Wed, 30 Jan 2019 17:56:53 +0000 https://techbland.com/?p=1194 programming, techbland

Hi, In this article we will have a look on top 5 programming languages to learn in 2019. Programming is the key to develop your own software and application. It is modern with new logical and mathematical concepts. Nowadays programming is involved in every field you want to study. Many software house and companies pay […]

The post Top 5 Computer Programming Language to Learn in 2019 appeared first on TechBland.

]]>
programming, techbland

Hi, In this article we will have a look on top 5 programming languages to learn in 2019. Programming is the key to develop your own software and application. It is modern with new logical and mathematical concepts. Nowadays programming is involved in every field you want to study. Many software house and companies pay developers and programmers are pay highly for because of their skills and experiences. All the applications and software we are developed using any programming language.

Before you learn any programming language we should have information about programming languages to be able to select a language from hundreds of programming languages. Read the list below to know about top 5 programming languages 2019.

Top 5 Programming Languages 2019

1. JavaScript

programming, javascript,java,python
top 5 programming languages 2019

According to the survey by a popular developer community website StackOverflow  JavaScript is being the most used programming language from last 6 years. Mostly “front-end-developers” were using JavaScript but recently many JavaScript developers use it for “back-end-development” using nodejs

These days many startups, personal portfolios, and business corporations use JavaScript to develop their own applications. Software houses and developing organization pays highly the JavaScript modern framework developers like nodejs, reactjs and angularjs etc.

Brackets | A modern HTML editor for Programmers to code What is Bootstrap? Learn From Basic with Examples

2. Python

programming, python, techbland
top 5 programming languages 2019

Python is stated as number 5 by many sources but I have decided to keep it at number two because it has very simple syntax. Java, c# or c++ has difficult syntax to learn but the syntax of python is like the English language which easies for beginners and professionals.

Django is the best python framework for “back-end-developers”. Python is popular for hardware interaction. scientific computing and engineering.

3. Java

programming, java, techbland
top 5 programming language 2019

Java is the most difficult and the most effective programming language. In its 20 active years, java has development enough. Java developers are paid the most for several years. It is mostly used for building enterprise-scale applications. Java is extremely stable and so, many large enterprises.

If you want a development based job then java will give you a job easily.

What is CSS? Cascading StyleSheet With Full Details and Examples What is HTML5? With full Definition

4. C/C++

programming, c language, c++, techbland
top 5 programming language 2019

C Language difficult to learn. It is mostly used for hardware interaction.

C++ comes after C language it follows many principles of C language.

C++ has a library called as STL – Standard Template Library. STL is full of ready-to-use libraries for various data structures algorithms and arithmetic operations. The library support and speed of the language make it a popular choice in the High-frequency trading community as well.

5. PHP

programming, php, techbland
top 5 programming language 2019

PHP is most used language among back-end-development. PHP has many popular frameworks like Laravel, Codeigniter, Symfony, and CakePHP etc. Laravel is the best framework. Management system and other high-scale application developers use Laravel because uses command tasking system. for example, if you run artisan command that will create a complete login system for you. This command helps developers to develop large applications in short time.

What is PHP Language? and How to start with the basic code of PHP?

Conclusion:

Choose a good language will get a good job in software houses and organizations. Every programming language can be the best for you according to your purpose because every programming language is complete and will make you a good developer.

 

The post Top 5 Computer Programming Language to Learn in 2019 appeared first on TechBland.

]]>
https://techbland.com/top-5-programming-languages-2019/feed/ 0 1194
Brackets | A modern html editor for Programmers to code https://techbland.com/brackets/ https://techbland.com/brackets/#comments Fri, 21 Dec 2018 07:23:42 +0000 https://techbland.com/?p=435 brackets

Brackets is a modern and open source code text editor that understand web designs. and it makes easy to go with web designing and web development in the browser. it crafted from the ground up for web designers and web front-end developers. it created by Adobe systems and written in javascript, html, and css. and it […]

The post Brackets | A modern html editor for Programmers to code appeared first on TechBland.

]]>
brackets

Brackets is a modern and open source code text editor that understand web designs. and it makes easy to go with web designing and web development in the browser. it crafted from the ground up for web designers and web front-end developers. it created by Adobe systems and written in javascript, html, and css. and it is available for Windows, Mac, and Linux. Brackets is an easy text editor which you can start easily with web designing and development, as you know there are many html editors if you search you will find a lot but there is a few best html editor that you can understand its features and how to code. If I let you know about my experience that I used it many times so I love it. its so easy and user-interface even you can customize and bring changes, well its amazing editor.

Notepad++ free download and software reviews 5 Best HTML Editor in 2019

1. Why use Brackets?

before downloading, installing and starting with any text editor its must to know about that editor. like why to use it and how to use, because a designers and developers need a soft and best editor that should not face with any kind of problems. so here you will know about Brackets that why to use it. well, it has many advantages of using this editor, like it is a lightweight, yet powerful, modern text editor. it blends visual tools into the editor so you get the right amount of help when you want it without getting in the way of your creative process. You’ll enjoy writing code in Brackets.

2. Brackets History

Adobe first started development of a text editor for web development on Edge Code, which was discontinued as of November 2014. This was later transformed into Adobe Brackets. With the release of Brackets 1.0, Adobe announced that the development of an open source software for web development was ready and was not an experimental project anymore. it contains more than 282 community contributors and more than 400 requests for bug fixes and new features. Every version of Brackets has more than 100,000 downloads and stands to be the 16th most popular project on GitHub as of January 16, 2015.

The Brackets repository on GitHub (Bracket repository) currently has 152 branches, 110 releases, and 17,700 commits. The source code is freely available under the MIT license. A developer can alter features on Brackets and personalize it for one’s own convenience by forking the software code.

3. Brackets Features

As you know every text editor has features which programmers need to know about it. so here are the several features of Brackets.

  • Inline editors
  • Live preview
  • Preprocessor support

1. Inline Editors

Instead of jumping between file tabs, Brackets lets you open a window into the code you care about most. Want to work on the CSS that applies to a specific ID? Put your mouse cursor on that ID, push Command / Ctrl+E and Brackets will show you all the CSS selectors with that ID in an inline window so you can work on your code side-by-side without any popups.

 

2. Live Preview

Get a real-time connection to your browser. Make changes to CSS and HTML and you’ll instantly see those changes on screen. Also, see where your CSS selector is being applied in the browser by simply putting your cursor on it. It’s the power of a code editor with the convenience of in-browser dev tools.

 

3. Preprocessor Support

Work with preprocessors in a whole new way. We know how important preprocessors are to your workflow. That’s why we want to make Brackets the best code editor for preprocessors out there. With Brackets you can use Quick Edit and Live Highlight with your LESS and SCSS files which will make working with them easier than ever.

What is Visual Studio Code? and Why to Choose it? 

4. What’s New in Brackets Release 1.13

  • AutoUpdate Framework by mbhavi: You can now automatically update Brackets, without leaving the code editor.
  • Add drag and drop to move items in FileTreeView by boopeshmahendran : You can now manipulate folder structure from within Brackets. Move a file/folder from one folder to another with a simple drag and drop.
  • Enable opening of remote(http|https) files in Brackets by swmitra : You can now open a remotely hosted web-page from within Brackets. Use Ctrl/Cmd-Shift-O shortcut and supply a URL to quickly open the file and review the code within Brackets.

Community contributions to Brackets

  • Fix for 13839: Crash on opening file with error “sharing violation”. by nethip
  • Fix #13099: Disallow user to create files/folder using relative path by sdalmeida
  • Issue #11261: keep the search bar open by petetnt
  • Linux native menus checked entries by pelatx
  • Bringing in ImmutableJS 3.8.2 by vickramdhawal
  • Add ‘onHighlight’ optional event callback mechanisfor better extensibility features in hint providers by swmitra
  • Make layout issue in submenu by boopeshmahendran
  • Fix to avoid window location change confirmation dialog while running tests – onbeforeunload conditional registration by swmitra
  • Fix full-screen window issue in multiple monitors by sobisht
  • Linux native menus lost shortcuts by pelatx
  • AutoUpdate Feature Health Data Logging Changes by niteskum
  • Adding Analytics logging for JSRefactor, Live Preview, Quick Edit and more features by sobisht
  • Disable GPU for Ubuntu18.04 by gautam0217
  • Build fixes for Ubuntu18.04 by gautam0217
  • Fixing issue 14163, F&R replaces all content of the file when replacing new line by navch
  • Fix Issue 14149 – Fixes DNS rebinding attack in CEF by sabanaya
  • Linux: Add a check for file exist when “Show in OS” is clicked by sobisht

Pulling source code from Git

  • A new brackets-shell build is required for this sprint. Be sure to rerun grunt setup before building.
  • Recommended: rebuild or reinstall an updated brackets-shell (no critical updates, but there are bugfixes).
  • Rebuilding/updating brackets-shell is optional for this release.
  • Rebuilding/updating brackets-shell is not required for this release.
  • brackets-shell’s Node dependencies have changed. Run npm install before rebuilding brackets-shell.
  • Some submodules have updated this sprint. Run git submodule update to ensure your source tree is fully up to date.
  • A submodule URL was changed this sprint. Run git submodule sync and then git submodule update --init --recursive to ensure your local source tree reflects the update.

5. Popular Brackets Extensions

Brackets have many extensions but here are some of the popular extensions that mostly used.

  • Emmet: this extension use for high-speed HTML and CSS workflow.
  • Beautify: it will format JavaScript, HTML, and CSS files.
  • File Icons: it is used for file icon in Brackets.
  • Indent Guides: this extension show indent guides in the code editor.
  • Git: git integration for brackets.
  • Autoprefixer: Parse CSS and add vendor prefixes automatically.
  • W3C Validation: the most useful extension, it validates your file.

6. Download Brackets

if you don’t have the setup so go to the link below and download it.

Download Brackets

7. How to install Brackets on PC

after you download its setup then now go to your PC and go to download folder then find out Brackets setup after that click to the setup and follow step by step.

Step1 set the setup path and click on the next button

bracket install1

step2 click on the install button

install bracket2

brackets process

step3 now installation is done successfully on your PC click on the finish button

bracket installed

8. How to start with Brackets

First of all, you need to open Brackets. you can open it from win menu press win button on the keyboard and search for Brackets. then click on it. or you can open it from your desktop find its icon and click on it to open.

brackets detail

In the above picture, you can see the rectangle with a number. here you will get one by one through its number.

1. File Name

it will show you the file name that you saved it with those name.

2. Menus

In the second rectangle, you see the menus. like

  • File Menu: In here you can add a new file, you can open file and folder if you have already and you can do many more things with this menu.
  • Edit Menu: You can use this menu in order to cut, copy and paste the text you selected. and you can select specific text, and any more.
  • Find Menu: You can find file, text, and tag easily with this menu.
  • View Menu: in here you can make the view of your IDE like you can make it side by side that you see two file at the same time and works on both.
  • Navigate Menu: you can simply jump to the next file or next line using the Navigate Menu.
  • Debug Menu: In this menu, you can debug your file.
  • Help Menu: If you need any kind of help so you can get it from the help menu.

3. Working Files

This option shows you the current file that you are working on it.

4. File-In Folder

You will see all your file in here that you created in the folder.

5. Close Button

You can close, minimize and maximize your page.

6. Live Preview

After doing your code if you want to see it live, so Brackets has this features that it gives you live preview.

7. Extensions

you can install extensions from here.

What is Sublime Text Editor? free download and software reviews

9. First Project In Brackets

Let’s build our first project with Brackets. In here you will get a simple project and you can try it yourself by copying the html and css code.

HTML code

<div id=”about”>
<div class=”container”>
<div class=”about-head text-center”>
<h2>Welcome to <span>TechBland</span></h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Tenetur, nemo.</p>
</div>
<div class=”about-content”>
<div class=”row”>
<div class=”col-lg-6 col-md-12 col-sm-12 col-xs-12″>
<div class=”about-content-text”>
<h5>Focuse On your Mordern Business </h5>
<h2>A Digital Web Studio Creating Stunning & Engaging Online Experiences.</h2>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore.</p>
<p>voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem.</p>
</div>
</div>
<div class=”col-lg-6 col-md-12 col-sm-12 col-xs-12″>
<div class=”about-content-img”>
<img src=”img/lici-3.svg” alt=”image”>
</div>
</div>
</div>
</div>
</div>
</div

CSS code

#about{
padding: 80px 0px 40px 0px;
background: #fff;
}
#about .about-head h2{
font-weight: 600;
}
#about .about-head h2 span{
color: #0094ff;
}
#about .about-head p{
color: #787879;
}
#about .about-head{
padding-bottom: 40px;
}
#about .about-content .about-content-text h5{
color: #0094ff;
padding-bottom: 20px;
}
#about .about-content .about-content-text h2{
font-weight: bold;
padding-bottom: 10px;
}
#about .about-content .about-content-text p{
color: #787879;
}
#about .about-content .about-content-img img{
width: 100%;
padding: 80px;
margin-top: -90px;
}

project in brackets

Summary

In this article, you learned about Brackets history, features, and updates of a new version. then you learned how to download and install on PC. then you learned how to start and make a simple project in Brackets.

Break a leg

 

 

The post Brackets | A modern html editor for Programmers to code appeared first on TechBland.

]]>
https://techbland.com/brackets/feed/ 1 435
Notepad++ free download and software reviews https://techbland.com/notepad/ https://techbland.com/notepad/#comments Wed, 19 Dec 2018 06:44:25 +0000 https://techbland.com/?p=385 notepad++

Notepad++ is an open source text and code editor available free to download for windows. its developed by Don Ho in 2003. and it supports 27 programming language which are  C, C++, Java, C#, XML, HTML, PHP, JavaScript, RC file, makefile, NFO, doxygen, INI file, batch file, ASP, VB/VBS, SQL, Objective-C, CSS, Pascal, Perl, Python, Lua, […]

The post Notepad++ free download and software reviews appeared first on TechBland.

]]>
notepad++

Notepad++ is an open source text and code editor available free to download for windows. its developed by Don Ho in 2003. and it supports 27 programming language which are  C, C++, Java, C#, XML, HTML, PHP, JavaScript, RC file, makefile, NFO, doxygen, INI file, batch file, ASP, VB/VBS, SQL, Objective-C, CSS, Pascal, Perl, Python, Lua, Unix Shell Script, Fortran, NSIS and Flash action script. Notepad++ is a lightweight and useful IDE which prefers the most from a programmer. it is the best platform for a programmer to code with it and create their project. I personally prefer you to download this IDE and get started with it. don’t slack off on others IDE.

I mostly use notepad++ for my project even in during of practice or learning web courses I use this IDE because its one of the best html editor in 2019 and its the main features are syntax highlighting and syntax folding, regular expression search, WYSIWYG (If you have a color printer, print your source code in color), Unicode support, full drag-and-drop supported, Brace and Indent guideline highlighting, two edits and synchronized view of the same document, and user language define system.

What is Sublime Text Editor? free download and software reviews 5 Best HTML Editor in 2019

1. Download Notepad++:

before starting with notepad++ at the first, you need to download it from the link below.

Download Notepad++ 32-bit x86   Download Notepad++ 64-bit x64

2. How to install Notepad++?

after downloading notepad++ in your PC windows then now let’s install it in our PC. here is step by step installation through picture and descriptions. so go to your PC and open download folder then find notepad++ setup after finding the setup then double click on it.

Step1: click on the YES button to start the installation.

Step2: there are many languages so select your language and press the ok button.

screenshot 1

Step3: then click on the next button to continue

screenshot 2

Step4: click on the agree button

screenshot3

Step5: set the installation folder and click on the next button

screenshot4

Step6: leave the default component and click on the next button

screenshot5

Step7: now the installation is ready to install and if you want to create the desktop icon so click on the bracket.

scrrenshot6

Step8: finally the installation has done successfully and now you can start with it.

screenshot7

the installation has done successfully and now you have notepad++ in your PC. so don’t waste your time open it and start coding.

Brackets | A modern html editor for Programmers to code What is Visual Studio Code? and Why to Choose it?

3. How to start with notepad++?

before coding in notepad++. let’s know how to open it, for opening notepad++ you can search it in windows menu or you can find its icon on the desktop and double-click to the icon. then now how to start with it and how to use its menus. as you are looking there are many menus and submenus which you have to know if you don’t know so how you can use it. if you want to know about menus so just move the mouse over them and click each menu then it will show you what this menu can do and which task it has. every menu has its own task and they will do different work for you.

menu

below the main menu, you have submenus with an icon. so move the mouse on them then their name will appear so that you should know what this menu is for. for example the first icon with white color is for creating a new file in notepad++. and the second menu with yellow color is for opening a folder in case if you have a project in your PC.

screenshot9

then in the third line, there will appear file name that you are working on. any file that you create or open it from your PC the name will appear in the third line which shows in the below.

file name

 

4. How to code inside notepad++?

In the fourth heading, you will know all about coding with notepad++. if you are new and you don’t know how to start coding with, so here I will let you know about notepad++ syntax and coding through picture and descriptions. you need to code step by step with me.

well, there is 27 programming language, you can go with any of them just click on the language Menu which is located in the top of the page. and select the language that you want to start or to code with it.

go to the language menu then click on option and select html language. listen you can select any language but I go with html language.

language menu

so now let’s start our coding with html syntax. html syntax might be familiar to you because some of you know html and if some of you don’t know html so matters not. here I will show you html syntax with an example.

html syntax

<! DOCTYPE html>: this line of code describes the html version.

html open <html> tag and close </html> tag.

head open <head tag and close </head> tag. and we give our title inside <head> tag. and we include css and js link inside <head> tag.

body open <body> tag and close </body> tag. and we code all our content inside <body> tag. whatever you see in the browser they all coded inside <body> tag.

Simple Project with html:

let’s do a simple project including <h1>, <p>, <ul> and internal css.

<! DOCTYPE html>
<html>
<head>
<title>simple project</title>
<style>
body{
background: #3f51b5;
color: #fff;
}
</style>
</head>
<body>
<h1>Hello viewer</h1>
<p>this is a simple project example using html language</p>
<ul>
<li>html</li>
<li>css</li>
<li>js</li>
<li>bootstrap</li>
<li>php</li>
<li>wordpress</li>
<li>jquery</li>
</ul>
</body>
</html>

after completing your coding press ctrl+s to save file and run it in your favirote browser and see the output.

html output

5. Notepad++ features:

here are the notepad++ features which help you to use and understand it. as it has many features which are shown below.

  • Syntax Highlighting and Syntax Folding
  • User Defined Syntax Highlighting and Folding
  • PCRE (Perl Compatible Regular Expression) Search/Replace
  • GUI entirely customizable: minimalist, tab with close button, multi-line tab, vertical tab, and vertical document list
  • Document Map
  • Auto-completion: Word completion, Function completion and  Function parameters hint
  • Multi-Document (Tab interface)
  • Multi-View
  • WYSIWYG (Printing)
  • Zoom in and zoom out
  • Multi-Language environment supported
  • Bookmark
  • Macro recording and playback
  • Launch with different arguments

6. Notepad++ Shortcut Keyboard:

every editor has its own shortcut key that each of them works specific task. so notepad++ also has shortcut key which makes your works easy and quick. you can switch quickly to any task with help of shortcut keyboard. here is the shortcut key of notepad++. and you can customize it from your wish.

go to settings and click shorter mapper.

shortcut mapper

here is the shortcut keyboard you see above the picture. if you want to make changes so click on shortcut key and new window pop up.

popup shortcut

in here you can bring changes to shortcut key as your wish. and after changes press ok button to save.

Summary:

In this article, you learned about notepad++ which is one of the best html editors and prefer the most from programmers. then in the second step, you learned how to download and install it on your PC. and finally we download and install it on our PC. then in the third step, you learned about its features and shortcut keyboard. which is the most useful for us.

 

 

The post Notepad++ free download and software reviews appeared first on TechBland.

]]>
https://techbland.com/notepad/feed/ 2 385
What is Sublime Text Editor? free download and software reviews https://techbland.com/sublime-text-2/ https://techbland.com/sublime-text-2/#comments Sun, 16 Dec 2018 11:04:27 +0000 https://techbland.com/?p=334 sublime text

Sublime Text is a cross-platform and open source code editor. it supports many programming languages. and each programming language has its own features and extensions. Sublime Text is a text editor for code, HTML, and prose. It features a rich selection of editing commands, including indenting or un-indenting, paragraph reformatting, a line joining, multiple selections, regular expression […]

The post What is Sublime Text Editor? free download and software reviews appeared first on TechBland.

]]>
sublime text

Sublime Text is a cross-platform and open source code editor. it supports many programming languages. and each programming language has its own features and extensions. Sublime Text is a text editor for code, HTML, and prose. It features a rich selection of editing commands, including indenting or un-indenting, paragraph reformatting, a line joining, multiple selections, regular expression search and replace, incremental find as you type, and preserve case on replacing. Create macros, snippets, autocomplete and repeat the last action. It has build tool integration ability, automatic build on saving, and WinSCP integration for editing remote files via SCP and FTP.

Sublime Text is used for Windows, Mac, and Linux. all you need to use it in every OS with one license. Download and install in your PC, here is step by step to download and install text editor in your PC. A sublime text editor is one of the best html editors which is most handy and preferred by the programmers. it is so easy to use and transparent.

What is Visual Studio Code? and Why to Choose it? 5 Best HTML Editor in 2019

1. Features:

here are the sublime text editor features with heading and details.

GOTO ANYTHING

Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.

Triggered with Ctrl+P, it is possible to:

  • Type part of a file name to open it.
  • Type @ to jump to symbols, # to search within the file, and : to go to a line number.

These shortcuts can be combined, so tp@rf may take you to a function read_file within a file text_parser.py. Similarly, tp:100 would take you to line 100 of the same file.

MULTIPLE SELECTIONS

Make ten changes at the same time, not one change ten times. Multiple selections allow you to interactively change many lines at once, rename variables with ease, and manipulate files faster than ever.

Try pressing Ctrl+Shift+L to split the selection into lines and Ctrl+D to select the next occurrence of the selected word. To make multiple selections with the mouse, take a look at the Column Selection documentation.

POWERFUL API AND PACKAGE ECOSYSTEM

Sublime Text has a powerful, Python API that allows plugins to augment built-in functionality.

Package Control can be installed via the command palette, providing simple access to thousands of packages built by the community.

CUSTOMIZE ANYTHING

Key bindings, menus, snippets, macros, completions and more – just about everything in Sublime Text is customizable with simple JSON files. This system gives you flexibility as settings can be specified on a per-file type and per-project basis.

SPLIT EDITING

Get the most out of your widescreen monitor with split editing support. Edit files side by side, or edit two locations in the one file. You can edit with as many rows and columns as you wish. Take advantage of multiple monitors by editing with multiple windows, and using multiple splits in each window.

Take a look at the View ▶ Layout menu for split editing options. To open multiple views into the one file, use the File ▶ New View into File menu item.

INSTANT PROJECT SWITCH

Projects in Sublime Text capture the full contents of the workspace, including modified and unsaved files. You can switch between projects in a manner similar to Goto Anything, and the switch is instant, with no save prompts – all your modifications will be restored next time the project is opened.

PERFORMANCE

Sublime Text is built from custom components, providing for unmatched responsiveness. From a powerful, custom cross-platform UI toolkit, to an unmatched syntax highlighting engine, Sublime Text sets the bar for performance.

CROSS-PLATFORM

Sublime Text is available for Mac, Windows, and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses.

Sublime Text uses a custom UI toolkit, optimized for speed and beauty while taking advantage of native functionality on each platform.

COMMAND PALETTE

The Command Palette holds infrequently used functionality, like sorting, changing the syntax and changing the indentation settings. With just a few keystrokes, you can search for what you want, without ever having to navigate through the menus or remember obscure key bindings.

Show the Command Palette with Ctrl+Shift+P.

GOTO DEFINITION

Using information from syntax definitions, Sublime Text automatically generates a project-wide index of every class, method, and function. This index powers Goto Definition, which is exposed in three different ways:

  • A popup is displayed when hovering over a symbol
  • Pressing F12 when the caret is on a symbol
  • The Goto Symbol in Project functionality

Symbol indexing can be customized on a per-syntax basis via configuration files, allowing users to tailor the feature to their needs.

Brackets | A modern html editor for Programmers to code Notepad++ free download and software reviews

2. Download Sublime Text:

if you have sublime text editor setup in your PC so its fine if you don’t have so here is the link you can download it from this link. we provide you the link for any OS.

 1 Download Sublime text for Windows 64-bit   

 2 Download Sublime text for Windows 32-bit  

 3 Download Sublime text for macOS  

 4 Download Sublime text for Linux 64-bit 

 5 Download Sublime text for Linux 32-bit 

3. Install Sublime text in your PC:

after downloading editor setup so now let’s install it in our PC. if you don’t know how to install sublime text in your pc so here is step by step editor installation. you can follow me.

first, go to in your desktop and open download folder then find sublime text setup that you downloaded minute before and double click on the link then click on YES option.

click on next button

screenshot 1

set installation path and click on next button

screenshot2

click on next button

screenshot3

now your installation is ready to install, click on the install button

screenshot4

sublime text installed successfully, click on the finish button

screenshot5

finally, you installed sublime text in your PC. you have done downloading and installation. now editor is ready to start you can start with the sublime text.

4. How to open Sublime text:

as you completed installation and now you have sublime text in your PC so let’s open it. and there are different ways to open.

step 1:

click on win button on your keyboard and search for sublime text here is the picture.

screenshot6

then click on a sublime text editor and it will open for you.

step 2:

go to desktop and find editor icon in your desktop, if you found it so click on the icon and it will open for you.

5. Start with a Sublime text:

while you opened sublime text editor then firstly you need to know about its menu, how its menu works and later you have to know about its features, packages, and coding. if you don’t know about its features so go to heading 1 and read it carefully. so now let’s know about its menus, what they are and how they work. the menu appears in the top left of the page.

  • File
  • Edit
  • Selection
  • Find
  • View
  • Goto
  • Tools
  • Projects
  • Preferences
  • Help

1. File Menu:

In the file menu, you can create a new file to work in. and if you have filed already in your desktop so you can open it with the file menu. and you can open folder, recent works and you can save your current project with file menu.

2. Edit Menu:

as by its name, it gives sense edit. in here you can edit your works and you can use cut, copy and paste task with help of edit menu.

3. Selection Menu:

if you want to select any line or any paragraph so you can do it only with selection menu. and you can select various line by clicking add next line from the selection menu.

4. Find Menu:

with this menu you can find text, even you can find pages. and you can replace text to text if you want.

5. Goto Menu:

you can go to any page and any line quickly with the help of Goto menu.

6. Tools Menu:

here is the tool which you have in your sublime text editor. this menu shows you which tools you have in your editor.

7. Project Menu:

in case if you have any project on your desktop so you can jump quickly to the project with the help of the project menu. and you can switch from this project to next project.

8. Preferences Menu:

with preference menu, you can customize your editor. and you can bring changes to your packages that you installed.

9. Help Menu:

everyone knows about this menu because of its defined by its name. but again if you need any kind of help so you can do it with help menu.

6. Sublime text keyboard shortcut:

every IDE has its own shortcut key. so sublime text also has shortcut key where you can quickly jump to your task with help of shortcut key by using the keyboard. so if you don’t know how to find shortcut key then go to preferences menu > key bindings. click to that and new file will appear so that is the keyboard shortcut, and you can customize that also. if you want to bring changes to shortcut key so simply change it in here.

screenshot key

Summary:

in the culmination of this article, I want to memorize you that In here you learned totally about Sublime text editor. you learned how to download and install it on your PC. and you learned about its features and shortcut keyboard. where you can customize shortcut key also if you want. then you learned about its menu and how to open sublime text. hope you get all well.

 

 

 

The post What is Sublime Text Editor? free download and software reviews appeared first on TechBland.

]]>
https://techbland.com/sublime-text-2/feed/ 5 334
What is Bootstrap? Learn From Basic with Examples https://techbland.com/bootstrap/ https://techbland.com/bootstrap/#comments Fri, 14 Dec 2018 09:23:00 +0000 https://techbland.com/?p=264 bootstrap

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web. with bootstrap, you can design a responsive template faster. you don’t need to code a lot of CSS coding because bootstrap itself has CSS coding, you need to call its class name. if you want to design […]

The post What is Bootstrap? Learn From Basic with Examples appeared first on TechBland.

]]>
bootstrap

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web. with bootstrap, you can design a responsive template faster. you don’t need to code a lot of CSS coding because bootstrap itself has CSS coding, you need to call its class name. if you want to design a template so simply include CSS and JS links of bootstrap into your HTML file. bootstrap makes your work easy you can design a template for Tablet, mobile, and PC. as you know in the 21st-century people are using the device more than Computer they check everything in a device so you need to design responsive websites. to increase viewers on your websites.

In this article, you will learn how to start with a bootstrap framework. web designers and web developers should know bootstrap because they need it during his projects. you can’t develop any website without its responsive mode if your website is not designed in a responsive mode so think that it’s useless. so let’s start

What is HTML5? With full Definition, Tags, and Example 5 Best HTML Editor in 2019

What you will learn?

  1. History
  2. Download
  3. Contents
  4. Layouts
  5. Components
  6. Start with Bootstrap
  7. First Project with Bootstrap

1. Bootstrap History:

Mark Otto and Jacob Thornton developed Bootstrap at Twitter as a means of improving the consistency of tools used on the site and reducing maintenance. The software was formerly known as Twitter Blueprint and is sometimes referred to as Twitter Bootstrap.

2. Download Bootstrap:

you can download the bootstrap from three ways in your PC.

  • npm
  • CDN
  • Source

npm:

install Bootstrap in your Node.js powered apps with the npm package:

$ npm install bootstrap

it will install all bootstrap files including CSS and JS file. just you need to run the above code.

CDN:

if you don’t want to download bootstrap file so simply insert CDN link on your projects

<!– Latest compiled and minified CSS –>
<link rel=”stylesheet”href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css”>

<!– jQuery library –>
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script>

<!– Latest compiled JavaScript –>
<script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js”></script>
include this links inside <html> -> <head> links </head>.

<!DOCTYPE html>
<html lang=”en”>
<head>
<title>Bootstrap links</title>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”stylesheet”href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css”>
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script>
<script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js”></script>
</head>
<body>

Source:

you can download the bootstrap source from this link Download Bootstrap it includes all files of bootstrap that you will need during your projects. so include the links on your project that you need.

What is the PHP Language? and How to start with the basic code of PHP?

3. Bootstrap Contents:

once you download bootstrap then unzip the compressed folder then finally you will see these files.

bootstrap/
├── css/
│   ├── bootstrap-grid.css
│   ├── bootstrap-grid.css.map
│   ├── bootstrap-grid.min.css
│   ├── bootstrap-grid.min.css.map
│   ├── bootstrap-reboot.css
│   ├── bootstrap-reboot.css.map
│   ├── bootstrap-reboot.min.css
│   ├── bootstrap-reboot.min.css.map
│   ├── bootstrap.css
│   ├── bootstrap.css.map
│   ├── bootstrap.min.css
│   └── bootstrap.min.css.map
└── js/
    ├── bootstrap.bundle.js
    ├── bootstrap.bundle.js.map
    ├── bootstrap.bundle.min.js
    ├── bootstrap.bundle.min.js.map
    ├── bootstrap.js
    ├── bootstrap.js.map
    ├── bootstrap.min.js
    └── bootstrap.min.js.map 

these are those files that simply used the most and each file works different and it has a different class name. include it on your project file and call its class name. remember bootstrap css won’t work without bootstrap js you have to include css and js links both.

What is CSS? Cascading StyleSheet With Full Details and Examples

Bootstrap Supports Browsers:

bootstrap support various browsers which are Chrome, Firefox, Safari, Edge, Explorer, IOS, Andriod, and Opera. you can run your website in these browsers you won,t face any kind of problems because bootstrap supports these browsers.

4. Bootstrap Layouts:

In here you will learn about bootstrap layouts as it has different layouts here are the details.

1. Grid System:

as you know bootstrap makes our work often easy and it has a different grid system (col system) which you need the most during your project. and those grids are responsive you don’t need to use media queries for them. and there are five total tiers (xs, sm, md, lg, and xl).

here is the usage of the grid.

<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
<div class=”col-lg-1″>
<!– content –>
</div>
as we have 12 grid in bootsrap here is the output.
grid system
<div class=”col-lg-3″>
<!– content –>
</div>
<div class=”col-lg-3″>
<!– content –>
</div>
<div class=”col-lg-3″>
<!– content –>
</div>
<div class=”col-lg-3″>
<!– content –>
</div>

col-4

<div class=”col-lg-4 col-md-4 col-sm-6″>
<!– content –>
</div>
<div class=”col-lg-4 col-md-4 col-sm-6″>
<!– content –>
</div>
<div class=”col-lg-4 col-md-4 col-sm-6″>
<!– content –>
</div>
col-4
in the last example you see 3 different grid value as the first one is col-lg-4 it is used for the large screen. second value as you see col-md-4 it is used for medium screen and third value you see col-sm-6 it is used for the small screen.

2. Container:

Web designer and web developer mostly use the container for their contents. as you know the width of a page is 100%. so while you use the container so your content gets space of 80%. if you use 100% width so your content looks bad in a browser so you need to give space from left and right side of your content in order to look nice. here is an example of a container and how to call container class.

<div class=”container”>
<!– content –>
</div>
here is the result.
container imgor use .container-fluid for full width here is the example.
<div class=”container-fluid”>
<!– content –>
</div>
here is the output of container-fluid
container-fluidso this was about the bootstrap container and container-fluid. programmer virtually use this class for his section. because it makes the section or content look nice.

3. Bootstrap Breakpoints:

as bootstrap developed for mobile, tablet, and Smartphones. so here are media queries which are most useful for a responsive mode. through media queries, you can handle the layouts in the minimum viewport and make your content in responsive mode also.

Bootstrap primarily uses the following media queries range or breakpoint in our source.

// Extra small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

you can manage your layout viewport through this media queries range as given above.

5. Components:

Bootstrap has its component with a class name.  it has a different component for various layout or various styles. you can use its component on your project by calling its class name. here is some example of the bootstrap component

1. Alert:

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Example:

you can use an alert for any length of text it is used with button handle mostly. you can call its class name by typing .alert-danger . and it has eight alert class.

now how to use a badge with content. here is the example.

<h1>Example heading <span class=”badge badge-danger”>New</span></h1>
<h2>Example heading <spanclass=”badge badge-danger”>New</span></h2>
<h3>Example heading <spanclass=”badge badge-danger”>New</span></h3>
<h4>Example heading <spanclass=”badge badge-danger”>New</span></h4>
<h5>Example heading <spanclass=”badge badge-danger”>New</span></h5>
<h6>Example heading <spanclass=”badge badge-danger”>New</span></h6>
badge example

3. Button:

Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.

Example:

<button type=”button” class=”btn btn-primary”>Primary</button>
<button type=”button” class=”btn btn-secondary”>Secondary</button>
<button type=”button” class=”btn btn-success”>Success</button>
<button type=”button” class=”btn btn-danger”>Danger</button>
<button type=”button” class=”btn btn-warning”>Warning</button>
<button type=”button” class=”btn btn-info”>Info</button>
<button type=”button” class=”btn btn-light”>Light</button>
<button type=”button” class=”btn btn-dark”>Dark</button>
<button type=”button” class=”btn btn-link”>Link</button>
button example

4. Form:

Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.

Example:

<form>
<div class=”form-group”>
<label for=”exampleInputEmail1″>Email address</label>
<input type=”email” class=”form-control” id=”exampleInputEmail1″ aria-describedby=”email Help” placeholder=”Enter email”>
<small id=”email Help “class=”form-text text-muted”>We’ll never share your email with anyone else.</small>
</div>
<div class=”form-group”>
<label for=”exampleInputPassword1″>Password</label>
<input type=”password” class=”form-control” id=”exampleInputPassword1″ placeholder=”Password”>
</div>
<div class=”form-group form-check”>
<input type=”checkbox” class=”form-check-input” id=”exampleCheck1″>
<label class=”form-check-label” for=”exampleCheck1″>Check me out</label>
</div>
<button type=”submit”class=”btn btn-primary”>Submit</button>
</form>
form
I think this much example is enough for a bootstrap component. hope you get it well.

6. How to Start With Bootstrap?

now you get somehow about bootstrap. so here, you will get how to start with bootstrap. before starting with it you need to have bootstrap in your PC if you don’t have to go to above on heading 2 and download it on your PC. then you need to create a folder on your Desktop or anywhere you want. (read it carefully) then create 2 folders one for CSS and one for JS  and one html file as index.html. after creating your folder and downloading bootstrap on your PC, then put bootstrap css file in your CSS folder and bootstrap js file in your JS folder. then open the folder with your favorite html editor.

now you opened your folder in any IDE then include bootstrap css and js file on your html file.

start bootstrap

one thing you can include your js file in <head> tag also or you can include it at the last before <body> tag also it’s your wish. but if you include it at the last so it is good. so finally your folder is ready to create the first project let’s start.

7. First Project with Bootstrap:

let’s do our first project with bootstrap. here I will do a simple bootstrap project for you.

HTML code

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<meta http-equiv=”X-UA-Compatible”content=”ie=edge”>
<title>Using Container</title>
<link rel=”stylesheet” href=”css/bootstrap.min.css”>
<link rel=”stylesheet” href=”css/style.css”>
</head>
<body>
<div id=”project”>
<div class=”container”>
<div class=”project-header text-center”>
<h2 class=”badge badge-success”>First Project</h2>
<p class=”text-info”>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quis, labore!</p>
</div>
<div class=”project-content”>
<div class=”row”>
<div class=”col-lg-6 col-md-6 col-sm-12″>
<div class=”project-box”>
<h1 class=”text-success”>Hello viewer <span class=”badge badge-success”>thank for view</span></h1>
<p style=”color: #918f8f”>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Expedita rerum neque veniam ipsum quis mollitia excepturi dolorum dolorem explicabo voluptatem!</p>
<p style=”color: #918f8f”>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Expedita rerum neque veniam ipsum quis mollitia excepturi dolorum dolorem explicabo voluptatem!</p>
<button class=”btn btn-success”>Get Start</button>
<button class=”btn btn-primary”>Get Start</button>
</div>
</div>
<div class=”col-lg-6 col-md-6 col-sm-12″>
<img src=”contact.png” alt=”image”>
</div>
</div>
</div>
</div>
</div>
<script src=”js/bootstrap.min.js”></script>
<script src=”js/script.js”></script>
</body>
</html>
CSS code
body{
background: #ccc;
}
.container{
margin-top: 20px;
background: #fff;
padding-top: 20px ;
padding-bottom: 40px ;
border-radius: 10px;
}
.project-content button{
margin-top: 20px;
}
.project-content img{
width: 100%;
height: 300px;
}
.project-box{
margin-top: 50px;
}
project
our project has done you can see the output in the browser. in the above, there is the code file of html and css if you want to try it yourself so copy html and css code from here.

Summary:

In this article, you learned about Bootstrap. you learned about its history and how to do download it on our PC. then you learned about its contents and layout as you learned about different layouts. after that, you learned about its component with its example and explanation. then at the last, you learned how to start and create our first project with bootstrap class and its links.

The post What is Bootstrap? Learn From Basic with Examples appeared first on TechBland.

]]>
https://techbland.com/bootstrap/feed/ 5 264
What is Visual Studio Code? VS Code Details, Tips and Tricks https://techbland.com/visual-studio-code/ https://techbland.com/visual-studio-code/#comments Tue, 11 Dec 2018 18:16:08 +0000 https://techbland.com/?p=227 vs code img

Visual Studio Code was developed by Microsoft for Window, Linux and Mac. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. and it’s also customized for the user to change theme colour, keyboard shortcut, and preference. it’s free and open source and it supports a number of programming languages like C#, Python, C, C++, HTML,  and […]

The post What is Visual Studio Code? VS Code Details, Tips and Tricks appeared first on TechBland.

]]>
vs code img

Visual Studio Code was developed by Microsoft for Window, Linux and Mac. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. and it’s also customized for the user to change theme colour, keyboard shortcut, and preference. it’s free and open source and it supports a number of programming languages like C#, Python, C, C++, HTML,  and many more. VS Code is one of the best HTML Editor in 2019, which is handy in programming life. its lightweight and has lots of features. in VS Code each Language has its own features and Extension if you know about an extension so you can easily install them because it will make easy for you to create your project and it will be transparent. and one cool feature it has that you can open it through command just open cmd or Git Bash and write code . plus press enter button and it will open Visual Studio Code for you its so easy way and quick way.

we have lots of IDE like Sublime Text, Notepad++, Atom and many more although each of them is good in its place each of them has good features and useful features. if we compare it with VS Code so they are not good as much as VS Code is good. if we ask from a programmer that which IDE you are using or which IDE I should use so I know 100% that they will give you VS Code option. one thing that I will suggest you if you are a programmer or you want to start coding so use VS Code and you can download it from here.

What is Sublime Text Editor? free download and software reviews 5 Best HTML Editor in 2019

Learn Step by Step about VS Code

  1. Download Visual Studio Code
  2. Install VS Code on PC
  3. Open Visual Studio Code
  4. Start with Visual Studio Code
  5. Keyboard Shortcut reference
  6. New updates
  7. History
  8. Features
  9. Extensions

Download Visual Studio Code:

 Visual Studio Code for Windows      Visual Studio Code for Mac 

How to Install VS Code on PC?

after downloading VS Code setup so now let’s install it on PC. first, go to your PC and open Download Folder and find the VS Code setup. if you find it so double-click on the setup and follow the steps.

after you open the setup then click on Next button.

screenshot1

then accept the agreement and click on Next button.

screenshot2

then set its path where you want and click on Next button

screenshot3

if you don’t want to create a start menu folder so leave the rectangle empty and click on Next button

screenshot4

then click on Next button

screenshot5

now the installation is ready, click on the Install button to install VS Code on your PC.

screenshot6

screenshot7

finally, VS Code installed successfully on your PC. click on Finish button.

screenshot8

now you have VS Code on your PC. your installation is done successfully and ready to open.

Brackets | A modern html editor for Programmers to code Notepad++ free download and software reviews

How to Open Visual Studio Code?

you can open Visual Studio Code in three ways.

  1. Type (win+r) and write cmd and click on the ok button or use Git Bash and write code . and press enter button.screenshot cmdopen vs code
  2. Click on (win) button and type Visual Studio Code and click on it.
  3. Go to your Desktop and find VS Code icon and click on it.

How to start with Visual Studio Code?

while you open VS Code so at the first you need to know about its menu that is located on the top of the page. as we have

  • File
  • Edit
  • Selection
  • View
  • Go
  • Debug
  • Terminal
  • Help

File Menu:

you can create a new file and new window. and you can open file and folder from your Desktop if you have in the case. in the file menu, you can save your current project and you can do many more things.

Edit Menu:

In the edit menu, we have a various option as we can cut, copy and paste our selected text. and we can undo and redo our work if we want, so in this menu, we have many more options too.

Selection Menu:

These menus are so transparent because it has a description like in this menu we can select our text, line and whole content.

 View Menu:

In this menu, you can view to mistake, errors, debug and you can search for extension and many more.

Go Menu:

with this menu, you can switch to your next file and you can go to next file, folder, and symbol in the file.

Debug Menu:

you can easily start and stop debugging with help of this menu.

Terminal Menu:

as we have cmd, Git Bash etc, so like them VS Code has its own command by the name of a terminal you don’t need to use cmd or Git Bash because VS Code has a terminal in here you can use it in place of cmd.

Help Menu:

Every IDE has this menu so if you need any kind of help so go to this menu.

Visual Studio Code Keyboard Shortcut reference:

like other IDE VS Code also provide you with the keyboard shortcut. you can easily access any file using the keyboard shortcut. and you can customize keyboard shortcut yourself too. Go to > file menu > Preferences > keyboard shortcut. here is the keyboard shortcut in case if you want to change keyboard shortcut so double-click on the keyboard shortcut and give keyboard shortcut from your wish,

keyboard

Visual Studio Code new updates:

VS Code is updated on October 2018 and the new version is 1.29. so here are the new updates, tools, and features that added to VS Code. you have to know about new features of VS Code which are below here.

The release notes are arranged in the following sections related to VS Code focus areas. Here are some further updates:

  • Workbench – Platform specific end-of-line characters, highlight modified file tabs.
  • Integrated Terminal – Split terminal cwd options, Cmd+Backspace to delete to start of the line.
  • Languages – Display CSS Specificity on hover, handle unknown CSS properties.
  • Debugging – Multiple debug consoles, starting with a stop on entry, style console.log messages.
  • Extension Authoring – Active terminal API, more control over custom views.

Visual Studio Code History:

VS Code was announced on April 29, 2015, by Microsoft at the 2015 Build conference. A Preview build was released shortly thereafter. and on November 18, 2015, Visual Studio Code was released under the MIT License and its source code posted to GitHub. Extension support was also announced as now if we see it have lots of extensions that are so handy. and finally, on April 14, 2016, Visual Studio Code graduated the public preview stage and was released to the web.

Visual Studio Code Features:

VS Code is an open source code editor. and it has many features for a user which make easy for them to start with there project. in VS Code we can do with any language program because each of them has its own extensions and features. we don’t need to download from outside of IDE although it has inside of it. just you need to know about them.

here is some programming language that VS Code support.

C, C++, C#, Java, HTML, Javascript, Python, Go, CSS, PHP, Swift, Typescript, JSON, LESS, Ruby, SCSS, SQL, XML, YAML, Perl, Visual Basic and some others language.

In above all programming language is affordable and supportable in VS Code. you can use it and it has its feature.

Visual Studio Code Extensions:

as others IDE has an extension for each programming language so here VS Code has also extensions for each language and we can easily install it in VS Code. An extension is so helpful for a programmer and it makes your syntax more readable and you can code shortly too. like if you want to start with HTML code so you don’t need to code all the syntax just you need to type ! and press enter button so it will automatically create HTML syntax. so that why extension good for a programmer.

you can find an extension form left menu. you will see 5 menus and the last one is extension menu click on it and search your extension name then install it. once your extension installed then it will give you the information on how to use and how to apply.

I hope you learn something from this Article but again if you have any confusion so please feel free to let me know.

 

The post What is Visual Studio Code? VS Code Details, Tips and Tricks appeared first on TechBland.

]]>
https://techbland.com/visual-studio-code/feed/ 2 227
What is CSS? Cascading StyleSheet With Full Details and Examples https://techbland.com/css/ https://techbland.com/css/#comments Sun, 09 Dec 2018 10:32:50 +0000 https://techbland.com/?p=213

CSS stands for Cascading StyleSheet, and it is a language which uses with HTML. it gives style to HTML tag. we can’t design website or web pages only with HTML but besides that, we have CSS which is the most important and popular language. CSS gives style or design your page in the way you want, […]

The post What is CSS? Cascading StyleSheet With Full Details and Examples appeared first on TechBland.

]]>

CSS stands for Cascading StyleSheet, and it is a language which uses with HTML. it gives style to HTML tag. we can’t design website or web pages only with HTML but besides that, we have CSS which is the most important and popular language. CSS gives style or design your page in the way you want, you can style your content or section in any way like for example we have a building a new building without style and design which is simple so now we want to give style so we use a different material that it looks beautiful, so web pages is the same we build web page with HTML and we give style with Cascading StyleSheet.

Cascading StyleSheet is the first technology after HTML, you need to learn CSS after you learned HTML because HTML is used to define the structure of your content and CSS is used to style your content. for example, in we have some HTML tag like h1, p, font, img and many more so what we will do that we will give style to tag with help of CSS, the Cascading StyleSheet give style to your HTML tag.

What is HTML5? With full Definition, Tags, and Example 5 Best HTML Editor in 2019

How many usage CSS have?

In Cascading StyleSheet we have 3 usages like.

  1. Inline CSS
  2. Internal CSS
  3. External CSS

1. Inline StyleSheet:

An inline style may be used to apply a unique style for a single element. for example.

<h1 style=”color:green”>Hello Viewer</h1>

look to the bold text it is an inline style we have an h1 tag and now let’s give a green color to the tag first write style then give the equal = sign and start double colon or single colon and then give property name then semicolon and then give property value and close double colon or single colon. this is the way to use inline style and give style to your content.

inline css

2. Internal StyleSheet:

An internal style sheet may be used if one single page has a unique style.

Internal styles are defined within the <style> element, inside the <head> section of an HTML page:

for example:

<!DOCTYPE html>
<html lang=”en”>
<head>
<title>CSS Internal Usage</title>
<style>
h1{
color: green;
font-size: 50px;
}
p{
color: blue;
}
h2{
color: red;
}
</style>
</head>
<body>
<h1>Hello dear</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Distinctio, ex.</p>
<h2>Cascading StyleSheet topic</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
</body>
</html>
so here is the output
internal css
as we used Internal StyleSheet in HTML file. you should code your CSS in the <head> section because we can’t do it anywhere else.

3. External StyleSheet:

with an external stylesheet, you can change your entire website design. with only including one file in your project, every project has one CSS file that every coding of CSS is code in that file. you can simply give style to your content by using Cascading StyleSheet. you have to give <link> to your CSS file inside <head> tag like.

<head>
<link rel=”stylesheet” type=”text/css” href=”style.css”>
</head>

an external StyleSheet can be written in any editor . but it won’t contain html extension, the StyleSheet must be saved a .css extension.

here are some coding of the style.css file

body{
background-color: green;
color: #fff;
font-family: Arial, Helvetica, sans-serif;
}
h1{
color: #fff;
font-size: 50px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
p{
font-size: 16px;
color: #ccc;
text-align: center
}
Note: Do not add a space between the property value and the unit (such as margin-left: 20 px;). The correct way is: margin-left: 20px;

StyleSheet Property and Value:

here are some stylesheet property name and property value that given as an example. each property has there own value it is not interchangeable.

background-color it will give a background color to the content
color it will give color to the content
font-size it will increase and decrease the text size
margin it will give a position to the content
padding it will give space to the content from its parent
font-family it will give font style to the content
width it will give width to the content
height it will give height to the content
border it will give a border to the content
top, left, right, bottom these are used to set a position of the content

 

The post What is CSS? Cascading StyleSheet With Full Details and Examples appeared first on TechBland.

]]>
https://techbland.com/css/feed/ 5 213
What is HTML5? With full Definition, Tags and Example https://techbland.com/html5/ https://techbland.com/html5/#comments Fri, 07 Dec 2018 17:34:34 +0000 https://techbland.com/?p=157 img title

What is HTML5? With full Definition, Tags, and Example. In 1990 Tim Berners-Lee develops HTML which stands for (Hypertext Markup Language). it is used to create web pages and to develop websites, whatever you see in world wide web (www) that all are created in HTML.  the internet browser will get easily HTML code and […]

The post What is HTML5? With full Definition, Tags and Example appeared first on TechBland.

]]>
img title

What is HTML5? With full Definition, Tags, and Example. In 1990 Tim Berners-Lee develops HTML which stands for (Hypertext Markup Language). it is used to create web pages and to develop websites, whatever you see in world wide web (www) that all are created in HTML.  the internet browser will get easily HTML code and display it for you in the browser. the only way we have to create a web page is only HTML, insides HTML we have many tags that each of tag are for a specific task. like we have a header, footer, nav, img, form, table, h1 to h6, p, a, video, audio,  center, section, aside and many more. with these tags, we can easily manage our page and give style to them.

so before going to example and details, just know that HTML5 is the new version of HTML. and this new version of HTML has many new tags although the coding is the same only it updates the tags and brings new tag, which is here <article>, <aside>, <canvas>, <footer>, <figcaption>, <figure>, <meter>, <progress>, <mark>, <keygen> and many more. these tags are so useful and simple.

What is CSS? Cascading StyleSheet With Full Details and Examples 5 Best HTML Editor in 2019

What does an HTML5 tag look like?

html5 tag

In HTML at first, we have HTML tag then after tag we have an attribute name like in here I code link tag a and with tag, we have attribute name that we use href then after that write attribute value then close the tag.

I hope you get what I mean, in opening tag we use attribute name and attribute value after opening tag we write out text or the link name then at the last close tag, don’t forget to close tag each tag have opening and closing if you don’t close the tag so it will be applied to all of your text that you write after opening tag.

<a></a>

 HTML tag open with less than < then tag name and greater than > after that write your text or give your task and close the tag. HTML tag close with less than <, forward slash /, tag name and greater than >.

How does HTML5 look like?

html5 code

This picture describes that how HTML look like or how it started.

  1. <!DOCTYPE html>, it shows the version of HTML that which HTML version it is.
  2. <html> we have HTML tag open. the browser will know that this text is written in HTML. and the language is English.
  3. <head> the third line we have a head. inside a head, we provide all our information like meta description, CSS link, and other details.
  4. <body> at the last we have body tag open. in the body tag, we provide our text, image, and lots of things. in the browser that you see the content so it is written in the body tag.

What is Bootstrap? Learn From Basic with Examples What is PHP Language? and How to start with basic code of PHP?

How to create an HTML5 file in PC?

every language have its own extension like we have many extension js, css, php so HTML is the same while if you want to create an HTML file in your project folder so write file name and put .html this extension tells the browser that the file or content is written in HTML.

html5 extension

What HTML5 tags are?

here are all HTML tag with name and description. here are some of them I explain.

h1, h2, h3, h4, h5, h6 these six tags are used for Heading.
p this is used for Paragraph.
image this is used for the image, to put an image on your page.
video this is used for video, to put a video on your page.
audio this is used for audio, to put sounds on your page.
header this is used for the head of the page.
footer this is used for the footer of the page.
form with this tag, we create a form for our page.
input input is used for email, password, text etc.
button this is used to create a button.
a this is used to create a link on our text.
center this is used to center your content or text.
table this is used to create a table on your page.

 

First HTML5 project

now let’s do practice, in this section I will show you practically that how to do HTML coding or how to use HTML tag.

so at the first create a folder on your PC and create a file with any name and give HTML extension to the file like I will create a file with the name of index.html.

the second step opens the folder in any HTML editor. if you don’t know about HTML editor so go here 5 best HTML Editor 

now let’s start our coding

<!DOCTYPE html>
<html lang=”en”>
<head>
<metacharset=”UTF-8″>
<metaname=”viewport”content=”width=device-width, initial-scale=1.0″>
<metahttp-equiv=”X-UA-Compatible”content=”ie=edge”>
<title>First Project</title>
</head>
<body>
<h1>Hello Viewer</h1>
<p>Wellcome to techbland.com</p>
</body>
</html>

html5 code

in here we used only 2 tags that the first one is h1 (heading 1) as we give heading to our page and the second one is p (Paragraph) that we write some text.

don’t forget to close the tag while you open the tag and after completing your text or content so close the tag.

Second HTML5 project

<!DOCTYPE html>
<html lang=”en”>
<head>
<metacharset=”UTF-8″>
<metaname=”viewport”content=”width=device-width, initial-scale=1.0″>
<metahttp-equiv=”X-UA-Compatible”content=”ie=edge”>
<title>Second Project</title>
</head>
<body>
<h1>Welcome to second project</h1>
<p>in second project we will do some text with image</p>
<imgsrc=”images.jpg”alt=”html-img”>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fugit quasi perferendis expedita ad nulla nobis reprehenderit</p>
</body>
</html>
 
here is the output in the browser
html5 example
in the second example, we have heading with h1 tag and 2 paragraphs with  tag but between p tag we have img tag that it display image in our page, you can see in the browser.
I hope you get what I am saying. in HTML we can do or we can display anything in anywhere of the page it depends on you that how you design your page and how you give style to your tag with the help of CSS.
HTML is the first step to learn how to design a website and how to create a website page. you have to learn it deeply.

The post What is HTML5? With full Definition, Tags and Example appeared first on TechBland.

]]>
https://techbland.com/html5/feed/ 12 157