Capital City Christian Church PluggedIn IT Ministry
To start with, lets take a look at the three major components of today's WebPage; HTML, CSS, and Javascript.
Web pages and applications are today composed of three main components:
More specific to our work, let's compare HTML and CSS. Javascript will come later.
The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.
Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as <img /> and <input /> directly introduce content into the page. Other tags such as <p> surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript, which affects the behavior and content of web pages. Inclusion of CSS defines the look and layout of content. The World Wide Web Consortium (W3C), former maintainer of the HTML and current maintainer of the CSS standards, has encouraged the use of CSS over explicit presentational HTML since 1997.
Reference: https://en.wikipedia.org/wiki/HTML
HTML - stands for HyperText Markup Language
We will only address HTML in this page, but it is important to see how it is typically used.
For our purposes, HTML is used for documentation, reporting, note taking. Depending on specific projects, we will get into browser based Javascript, the Web Server's CGI layer, and RDBMS SQL.
HTML has become the standard for presenting static and dynamic material for general consumption. It is also used to create applications.
Modern HTML began as hand written 'mark-up' of newspaper and magazine 'copy' (text content). The 'mark-up' was manually added to instruct the printers all of the details regarding fonts, colors, placement of images, column arrangement, and the position of each thing to other things. Today, that mark-up language has been adapted to the digital world, specifically the browser environment.
The "web" paradigm consists of a 3-tier platform made up of a client browser for presentation, a web service as middleware, and an optional back-end datastore.
While there are many types and brands of each of these 3 tiers, each piece is usually interchangeable with any other. In other words, none of the layers should depend on which product is running at the other tiers.
When viewing a page, you can right click on an open area of the page (not on an element) and a pop-up menu will include viewing the source. Selecting this will open a new tab that displays the HTML (and other) code which is being used to render the current page. While viewing the source code, you can click on any hyperlink to see the additional files required to render the current page. These are usually CSS (Cascading Style Sheets) and portions of JavaScript.
Reviewing the source code is a great way to learn much more about HTML!
You can also press the F12 key to open your browsers development features. This will allow you to identify, study, and debug the current page.
Today's Webpage/Webapp - HTML, CSS, and JavaScript combine to create an interactive browser based environment that can a stand-alone application, or 'remote terminal', or some combination.
HTML or HyperText Markup Language is the standard markup language used to create Web pages.
Elements are encapsulated within tags that direct their rendering and characteristics. Some tags are singular such as <br> and <img>.
Within HTML code comments begin with "<!--" and end with "-->".
Within CSS or JavaScript comments begin with "/*" and end with "*/". They can also simply begin with "//".
Comments often contain developer notes and other confidential information, like passwords for example!
Basic Page Structure
HTML tags are like keywords which defines that how web browser will format and display the content. With the help of tags, a web browser can distinguish between an HTML content and a simple content. HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags. (https://www.javatpoint.com/html-tags)
Next we want to look at HTML in actual use. Open the HTML.Example.html page for a view under the hood.