![]() For now, we’ll be ignoring these odd-balls.īlock level tags define regions of content – things like titles, paragraphs, lists, list items, and so on. There are two major types of HTML tags, block-level tags, and inline tags, though it should be noted that there is a much less common third type which is a hybrid of the two, referred to as inline-block. Over the next few instalments we’ll be working our way through the common HTML tags. In the previous instalment we introduced HTML, learned about HTML tags in the abstract, and looked at a basic template for all HTML pages. This post is part 3 of 92 in the series Programming by Stealth Until we get CSS, the web pages we create will look exceptional plain and frankly boring, but don’t worry, we’ll move on to CSS soon enough, and then you can really let your creative juices fly!įiled Under Computers & Tech, Software Development on November 5, 2015 | 6 Comments We’ll be moving on to CSS once we finish describing HTML. We use HTML to describe what each part of the page is, and CSS to describe how each marked up element on the page should be styled. ![]() Instead, HTML is now just half of a duo of languages used to create a web page – the other partner being Cascading Style Sheets, or CSS. Experience has taught us that this is a terrible idea, so we no longer use HTML in this dual role. When HTML was originally developed, it was designed to describe both what different elements of a web page were, and, what they should look like. There have also been many versions of HTML over the years, and again, we’re going to jump straight to the end of the story, and use the latest incarnation of the Hyper-Text Markup Language, HTML5.īefore we dive into the specifics, I want to take a moment to explain the larger context in which we’ll be using HTML. ![]() We’re going to ignore all the techniques that time and experience have shown to be mistake, and jump straight to the end of the story – modern best practice. Modern best practices for web development are the result of decades of evolution. Like with programming, we are conveying meaning to the computer, but the range of possible things we can ‘say’ is much smaller and simpler. HTML allows us to mark certain parts of a document as headings, other parts as paragraphs, and yet other parts as being emphasised etc. ![]() HTML is not a true programming language, it is instead a simpler beast known as a markup language – it adds context to text. The first baby-step we’ll take towards real programming is the Hyper-Text Markup Language, better known to us all as HTML. This post is part 2 of 92 in the series Programming by Stealth We’re going to sneak up on programming by learning to create web pages.įiled Under Computers & Tech, Software Development on October 23, 2015 | 4 Comments Instead, I’m going to use the most universal platform of all – the world wide web. Also, in order to be as inclusive as possible, I’m going to avoid vendor-specific languages – that means no Apple Script, no VB Script, no Objective C, and no C# (pronounced ‘see-sharp’ BTW). We will be using computer languages from the start, but initially, they won’t be programming languages. The plan is to sneak up on programming in small steps – hence the title of the series. In order to help bring everyone along, I’m also not going to go from zero to real programming in one go. I’m very deliberately going to make use of a pallet of languages, and I’m going to focus on the underlying principles, rather than the specific peculiarities of any given language. In case you hadn’t guessed yet, I’m not going to pick a single computer language for this series of tutorials. 15 years ago I did 90% of my programming in Java, 10 years ago, PHP, today, Perl, next year, who knows! ![]() The point I really want to drive home is that you are not a Java programmer, or a PHP programmer, or a Perl programmer – you are a programmer! The tool you happen to use most today is unlikely to be the one you use most a decade from now. While doing so I’ve also made use of other computer languages that are not quite programming languages, but still involved telling a computer what you mean like SQL, HTML, CSS, XML & JSON. In my two decades of programming I have programmed in X86 Assembler, BASIC, C, C++, Java, JavaScript, Perl, PHP, BASH, Lisp, Maple, Matlab, and more. Once you grasp the fundamental principles, you can move from language to language with relative ease. Contrary to what you may believe, learning to program is not about learning any specific programming language, but about learning the principles shared by all languages. This post is part 1 of 92 in the series Programming by StealthĬomputer programming is a very powerful skill – it literally lets you tell computers exactly what to do. Filed Under Software Development, Computers & Tech on October 9, 2015 | 17 Comments ![]()
0 Comments
Leave a Reply. |