Skip to main content

Posts

Showing posts with the label Mac

Bootstrap 4

Easy to use:  Anybody with just basic knowledge of HTML and CSS can start using Bootstrap 4 Responsive features:  Bootstrap's responsive CSS adjusts to phones, tablets, and desktops Mobile-first approach:  In Bootstrap 4, mobile-first styles are part of the core framework Browser compatibility:  Bootstrap 4 is compatible with all modern browsers (Chrome, Firefox, Internet Explorer 10+, Safari, and Opera) Where to Get Bootstrap 4? There are two ways to start using Bootstrap 4 on your own web site. You can: Include Bootstrap 4 from a CDN Download Bootstrap 4 from getbootstrap.com Bootstrap 4 CDN If you don't want to download and host Bootstrap 4 yourself, you can include it from a CDN (Content Delivery Network). MaxCDN provides CDN support for Bootstrap's CSS and JavaScript. You must also include jQuery: MaxCDN: <!-- Latest compiled and minified CSS --> < link  rel ="stylesheet" href ="https://maxcdn.bootstrapcdn.com/bootst...

HTML Lesson#04 HTML YouTube Videos By Naeem Raza

The easiest way to play videos in HTML, is to use YouTube. Struggling with Video Formats? Earlier in this tutorial, you have seen that you might have to convert your videos to different formats to make them play in all browsers. Converting videos to different formats can be difficult and time-consuming. An easier solution is to let YouTube play the videos in your web page. YouTube Video Id YouTube will display an id (like tgbNymZ7vqY), when you save (or play) a video. You can use this id, and refer to your video in the HTML code. Playing a YouTube Video in HTML To play your video on a web page, do the following: Upload the video to YouTube Take a note of the video id Define an <iframe> element in your web page Let the src attribute point to the video URL Use the width and height attributes to specify the dimension of the player Add any other parameters to the URL (see below) Example - Using iFrame (recommended) < iframe  wid...

HTML Lesson#03 Learn by Naeem Raza

HTML Elements An HTML element usually consists of a  start  tag and  end  tag, with the content inserted in between: < tagname > Content goes here... < /tagname > The HTML  element  is everything from the start tag to the end tag: < p > My first paragraph. < /p > html5 by naeem raza < !DOCTYPE  html > < html > < body > < h1 > My First Heading < /h1 > < p > My first paragraph. < /p > < /body > < /html > Example Explained The  <html>  element defines the  whole document . It has a  start  tag <html> and an  end  tag </html>. The element  content  is another HTML element (the <body> element). < html > < body > < h1 > My First Heading < /h1 > < p > My first paragraph. < /p > < /body > ...

HTML Lesson#02 Learn by Naeem Raza

Write HTML Using Notepad or TextEdit Web pages can be created and modified by using professional HTML editors. However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Follow the four steps below to create your first web page with Notepad or TextEdit. Step 1: Open Notepad (PC) Windows 8 or later: Open the  Start Screen  (the window symbol at the bottom left on your screen). Type  Notepad . Windows 7 or earlier: Open  Start  >  Programs >   Accessories >   Notepad Step 1: Open TextEdit (Mac) Open  Finder > Applications > TextEdit Also change some preferences to get the application to save files correctly.  In  Preferences > Format >  choose  "Plain Text" Then under "Open and Save", check the box that says "Ignore rich text commands in HTML files". Then open a new d...

HTML Lesson#01 Learn by Naeem Raza

This HTML tutorial contains hundreds of HTML examples. With our online HTML editor, you can edit the HTML, and click on a button to view the result. <!-- Starting html Documents --> < !DOCTYPE  html > <!-- html Start --> < html > <!-- head Start --> < head > <!-- Type your own Title --> < title > Html Lesson#1  Title < /title > <!-- head end --> < /head > <!-- body Start --> < body > <!-- heading Start in body --> < h1 > This is a Heading < /h1 > <!-- Paragraph Start --> < p > This is a paragraph. < /p > <!-- html body end --> < /body > <!-- html End --> < /html > Example Explained The  <!DOCTYPE html>  declaration defines this document to be HTML5. The  <html>  element is the root element of an HTML page. The  <head>  element contains meta information about...