miercuri, 23 iulie 2008

Learn Html

What is an HTML File?
HTML stands for Hyper Text Markup Language
An HTML file is a text file containing small markup tags
The markup tags tell the Web browser how to display the page
An HTML file must have an htm or html file extension
An HTML file can be created using a simple text editor

Do You Want to Try It?
If you are running Windows, start Notepad.
If you are on a Mac, start SimpleText.
In OSX start TextEdit and change the following preferences: Open the "Format" menu and select "Plain text" instead of "Rich text". Then open the "Preferences" window under the "Text Edit" menu and select "Ignore rich text commands in HTML files". Your HTML code will probably not work if you do not change the preferences above!
Type in the following text:




Title of page


This is my first homepage. This text is bold



Save the file as "mypage.htm".
Start your Internet browser. Select "Open" (or "Open Page") in the File menu of your browser. A dialog box will appear. Select "Browse" (or "Choose File") and locate the HTML file you just created - "mypage.htm" - select it and click "Open". Now you should see an address in the dialog box, for example "C:\MyDocuments\mypage.htm". Click OK, and the browser will display the page.

Example Explained
The first tag in your HTML document is . This tag tells your browser that this is the start of an HTML document. The last tag in your document is . This tag tells your browser that this is the end of the HTML document.
The text between the tag and the tag is header information. Header information is not displayed in the browser window.
The text between the tags is the title of your document. The title is displayed in your browser's caption. <br />The text between the <body> tags is the text that will be displayed in your browser. <br />The text between the <b> and </b> tags will be displayed in a bold font. <br />HTM or HTML Extension? <br />When you save an HTML file, you can use either the .htm or the .html extension. We have used .htm in our examples. It might be a bad habit inherited from the past when some of the commonly used software only allowed three letter extensions. <br />With newer software we think it will be perfectly safe to use .html. <br />Note on HTML Editors: <br />You can easily edit HTML files using a WYSIWYG (what you see is what you get) editor like FrontPage or Dreamweaver, instead of writing your markup tags in a plain text file. <br />However, if you want to be a skillful Web developer, we strongly recommend that you use a plain text editor to learn your primer HTML. <br />Frequently Asked Questions <br />Q: After I have edited an HTML file, I cannot view the result in my browser. Why?A: Make sure that you have saved the file with a proper name and extension like "c:\mypage.htm". Also make sure that you use the same name when you open the file in your browser. <br />Q: I have edited an HTML file, but the changes don't show in the browser. Why?A: A browser caches pages so it doesn't have to read the same page twice. When you have modified a page, the browser doesn't know that. Use the browser's refresh/reload button to force the browser to reload the page. <br />Q: What browser should I use?A: You can do all the training with all of the well-known browsers, like Internet Explorer, Firefox, Netscape, or Opera. However, some of the examples in our advanced classes require the latest versions of the browsers. <br />Q: Does my computer have to run Windows? What about a Mac?A: You can do all your training on a non-Windows computer like a Mac. <br /> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Publicat de <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/07018472287517671957' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/07018472287517671957' rel='author' title='author profile'> <span itemprop='name'>etutorials</span> </a> </span> </span> <span class='post-timestamp'> la <meta content='http://i-tutorial.blogspot.com/2008/07/learn-html.html' itemprop='url'/> <a class='timestamp-link' href='https://i-tutorial.blogspot.com/2008/07/learn-html.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2008-07-23T06:41:00-07:00'>06:41</abbr></a> </span> <span class='post-comment-link'> </span> <span class='post-icons'> <span class='item-control blog-admin pid-1118911741'> <a href='https://www.blogger.com/post-edit.g?blogID=8320826949765837296&postID=5273022274854237773&from=pencil' title='Editați postarea'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> <div class='comments' id='comments'> <a name='comments'></a> <h4>Niciun comentariu:</h4> <div id='Blog1_comments-block-wrapper'> <dl class='avatar-comment-indent' id='comments-block'> </dl> </div> <p class='comment-footer'> <a href='https://www.blogger.com/comment.g?blogID=8320826949765837296&postID=5273022274854237773' onclick=''>Trimiteți un comentariu</a> </p> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='https://i-tutorial.blogspot.com/2008/07/colors-for-perfect-html-design.html' id='Blog1_blog-pager-newer-link' title='Postare mai nouă'>Postare mai nouă</a> </span> <a class='home-link' href='https://i-tutorial.blogspot.com/'>Pagina de pornire</a> </div> <div class='clear'></div> <div class='post-feeds'> <div class='feed-links'> Abonați-vă la: <a class='feed-link' href='https://i-tutorial.blogspot.com/feeds/5273022274854237773/comments/default' target='_blank' type='application/atom+xml'>Postare comentarii (Atom)</a> </div> </div> </div></div> </div> <div id='sidebar-wrapper'> <div class='sidebar section' id='sidebar'><div class='widget Text' data-version='1' id='Text1'> <h2 class='title'>Welcom to i-Tutorial</h2> <div class='widget-content'> i-Tutorial meens for Internet Tutorials .<br/>Here you can learn some tricks and tips in any domain.<br/>Html , photoshop , macromedia , adobe , dreamweaver, yahoo, seo etc.<br/>Tutorials are in English.<br/><br/>Have a nice day and thanks for visit !<br/> </div> <div class='clear'></div> </div><div class='widget Poll' data-version='1' id='Poll1'> <h2 class='title'>How good are our tutorials ?</h2> <div class='widget-content'> <iframe allowtransparency='true' frameborder='0' height='180' name='poll-widget4260236294380757805' style='border:none; width:100%;'></iframe> <div class='clear'></div> </div> </div><div class='widget Subscribe' data-version='1' id='Subscribe1'> <div style='white-space:nowrap'> <h2 class='title'>Abonare la tutoriale</h2> <div class='widget-content'> <div class='subscribe-wrapper subscribe-type-POST'> <div class='subscribe expanded subscribe-type-POST' id='SW_READER_LIST_Subscribe1POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Postări </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=https%3A%2F%2Fi-tutorial.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=https%3A%2F%2Fi-tutorial.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='https://i-tutorial.blogspot.com/feeds/posts/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Postări </span> </span> </div> <div class='bottom'></div> </div> </div> <div class='subscribe-wrapper subscribe-type-PER_POST'> <div class='subscribe expanded subscribe-type-PER_POST' id='SW_READER_LIST_Subscribe1PER_POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comentarii </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=https%3A%2F%2Fi-tutorial.blogspot.com%2Ffeeds%2F5273022274854237773%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=https%3A%2F%2Fi-tutorial.blogspot.com%2Ffeeds%2F5273022274854237773%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='https://i-tutorial.blogspot.com/feeds/5273022274854237773/comments/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1PER_POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comentarii </span> </span> </div> <div class='bottom'></div> </div> </div> <div style='clear:both'></div> </div> </div> <div class='clear'></div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Arhivă blog</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://i-tutorial.blogspot.com/2008/'> 2008 </a> <span class='post-count' dir='ltr'>(5)</span> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://i-tutorial.blogspot.com/2008/07/'> iulie </a> <span class='post-count' dir='ltr'>(5)</span> <ul class='posts'> <li><a href='https://i-tutorial.blogspot.com/2008/07/microsoft-word-tutorial.html'>Microsoft Word Tutorial</a></li> <li><a href='https://i-tutorial.blogspot.com/2008/07/image-pipes-tutorial.html'>Image Pipes Tutorial</a></li> <li><a href='https://i-tutorial.blogspot.com/2008/07/html-charset-tutorial.html'>Html charset tutorial</a></li> <li><a href='https://i-tutorial.blogspot.com/2008/07/colors-for-perfect-html-design.html'>Colors for perfect html design</a></li> <li><a href='https://i-tutorial.blogspot.com/2008/07/learn-html.html'>Learn Html</a></li> </ul> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget Profile' data-version='1' id='Profile1'> <h2>Despre mine</h2> <div class='widget-content'> <dl class='profile-datablock'> <dt class='profile-data'> <a class='profile-name-link g-profile' href='https://www.blogger.com/profile/07018472287517671957' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'> etutorials </a> </dt> </dl> <a class='profile-link' href='https://www.blogger.com/profile/07018472287517671957' rel='author'>Vizualizați profilul meu complet</a> <div class='clear'></div> </div> </div></div> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'> </div> </div> <!-- end content-wrapper --> <div id='footer-wrapper'> <div class='footer section' id='footer'><div class='widget AdSense' data-version='1' id='AdSense1'> <div class='widget-content'> <script type="text/javascript"><!-- google_ad_client="pub-6386954204313476"; google_ad_host="pub-1556223355139109"; google_ad_host_channel="00000"; google_ad_width=468; google_ad_height=60; google_ad_format="468x60_as"; google_ad_type="text"; google_color_border="FFFFFF"; google_color_bg="FFFFFF"; google_color_link="204063"; google_color_url="8FACC8"; google_color_text="477FBA"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <div class='clear'></div> </div> </div></div> </div> </div></div> <!-- end outer-wrapper --> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/4290687098-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY43Eo593rP7pdR0gdrGizfnjkx0og:1714638251005';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d8320826949765837296','//i-tutorial.blogspot.com/2008/07/learn-html.html','8320826949765837296'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '8320826949765837296', 'title': 'Free Tutorials Worldwide', 'url': 'https://i-tutorial.blogspot.com/2008/07/learn-html.html', 'canonicalUrl': 'http://i-tutorial.blogspot.com/2008/07/learn-html.html', 'homepageUrl': 'https://i-tutorial.blogspot.com/', 'searchUrl': 'https://i-tutorial.blogspot.com/search', 'canonicalHomepageUrl': 'http://i-tutorial.blogspot.com/', 'blogspotFaviconUrl': 'https://i-tutorial.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'ro', 'localeUnderscoreDelimited': 'ro', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Free Tutorials Worldwide - Atom\x22 href\x3d\x22https://i-tutorial.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Free Tutorials Worldwide - RSS\x22 href\x3d\x22https://i-tutorial.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Free Tutorials Worldwide - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/8320826949765837296/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Free Tutorials Worldwide - Atom\x22 href\x3d\x22https://i-tutorial.blogspot.com/feeds/5273022274854237773/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-6386954204313476', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/c5033d8b5ec2e8d3', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Solicita\u021bi un link', 'key': 'link', 'shareMessage': 'Solicita\u021bi un link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Trimite\u021bi c\u0103tre Facebook', 'target': 'facebook'}, {'name': 'Posta\u021bi pe blog!', 'key': 'blogThis', 'shareMessage': 'Posta\u021bi pe blog!', 'target': 'blog'}, {'name': 'Twitter', 'key': 'twitter', 'shareMessage': 'Trimite\u021bi c\u0103tre Twitter', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Trimite\u021bi c\u0103tre Pinterest', 'target': 'pinterest'}, {'name': 'E-mail', 'key': 'email', 'shareMessage': 'E-mail', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27ro\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Citi\u021bi mai multe', 'pageType': 'item', 'postId': '5273022274854237773', 'pageName': 'Learn Html', 'pageTitle': 'Free Tutorials Worldwide: Learn Html'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edita\u021bi', 'linkCopiedToClipboard': 'Linkul a fost copiat \xeen clipboard!', 'ok': 'Ok', 'postLink': 'Posta\u021bi linkul'}}, {'name': 'template', 'data': {'isResponsive': false, 'isAlternateRendering': false, 'isCustom': false}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Learn Html', 'description': 'What is an HTML File?\r HTML stands for Hyper Text Markup Language\r An HTML file is a text file containing small markup tags\r The markup tags...', 'url': 'https://i-tutorial.blogspot.com/2008/07/learn-html.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 5273022274854237773}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/421624532-lbx__ro.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/13464135-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_TextView', new _WidgetInfo('Text1', 'sidebar', document.getElementById('Text1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_PollView', new _WidgetInfo('Poll1', 'sidebar', document.getElementById('Poll1'), {'pollid': '4260236294380757805', 'iframeurl': '/b/poll-results?pollWidget\x3dPoll1\x26txtclr\x3d%23204063\x26lnkclr\x3d%23599be2\x26chrtclr\x3d%23599be2\x26font\x3dnormal+normal+100%25+Helvetica,Arial,Verdana,\x27Trebuchet+MS\x27,+Sans-serif\x26hideq\x3dtrue\x26purl\x3dhttps://i-tutorial.blogspot.com/'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_SubscribeView', new _WidgetInfo('Subscribe1', 'sidebar', document.getElementById('Subscribe1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Se \xeencarc\u0103\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar', document.getElementById('Profile1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense1', 'footer', document.getElementById('AdSense1'), {}, 'displayModeFull')); </script> </body> </html>